Created
January 31, 2014 02:46
-
-
Save fujiwara/8725795 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use Data::Dumper; | |
print "Content-Type: text/plain\n\n"; | |
print Dumper(\@ARGV); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl "localhost/cgi-bin/args.cgi?foo+bar+baz%20baz" [/usr/lib/cgi-bin] | |
$VAR1 = [ | |
'foo', | |
'bar', | |
'baz baz' | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment