Ok, this problem is that if you POST and have a query string, by default CGI.pm will only put the form values that are "POSTed" into the param() function, and ignore the query string.
There is a hack provided by the author that will allow it to process both the query string and the POSTed values together. You can check the CGI docs for more info, but basically search for "cake and eat it" in the CGI.pm file and uncomment the next line of code.
$code or die
Using perl at
The Spiders Web | [reply] |
print $query->header;
or
print header;
If the latter, you will need to change your use CGI into:
use CGI qw(:standard);
Or something of that sort, as CGI is not exporting any functions by default.
MeowChow
s aamecha.s a..a\u$&owag.print | [reply] [d/l] [select] |
I'm was using print $query->header;
I dont have access to the perl files on my web server. Second I dont think it would pull the information off the commmand line like I need it to. The command line would look like this "/myfolder/mytemplate.txt".
| [reply] [d/l] |