Skip to content

Instantly share code, notes, and snippets.

@fujiwara
Created January 31, 2014 02:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fujiwara/8725795 to your computer and use it in GitHub Desktop.
Save fujiwara/8725795 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
use strict;
use Data::Dumper;
print "Content-Type: text/plain\n\n";
print Dumper(\@ARGV);
$ 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