in reply to command prompt help
See:#!/usr/local/bin/perl -w use strict; use CGI; my $q = new CGI; print map $_ . " => " . $q->param($_) . "\n", $q->param;
So use CGI.pm. The alternative is to write your own code to emulate a CGI environment, reading parameters either from @ARGV or from STDIN. All of which work has already been done in CGI.pm.% foo.cgi foo=bar baz=quux foo => bar baz => quux
|
|---|