[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [gopher] First shot at a gopher mole - results vary, but why?



On Jan 25, 2014, at 20:12, Cameron Kaiser <spectre@floodgap.com> wrote:

> The problem is this line:
> 
>> if ( $SELECTOR =~ /^$REQUEST[?](.*)/ )

> However, Bucktooth already gives you the arguments:
> look at @ARGV. You don't need to parse them again. It does all the hard work
> like finding the delimiter and doing any necessary decoding.

Some servers also give the args in $QUERY_STRING just like in CGI scripts.



- Kim
_______________________________________________
Gopher-Project mailing list
Gopher-Project@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project




Reply to: