The above code does not work. It refuses to save my form parameters in the 'query.txt' file. I'm getting no errors. Now here is the kicker: the below simpler code saves my form's contents just fine:... ... ... open (QUERY,'<query.txt'); my $q = new CGI(\*QUERY); close QUERY; ... ... open (QUERY, '>query.txt'); $q->save(\*QUERY); print $q->header(); ... ...
Notice that the only difference between the two codes is that the second does not attempt to restore the parameters. Of course, with the above code I can't restore my parameters, either. I've been at this quite a while and my nerves are getting frayed. Any help is appreciated.... ... ... my $q = new CGI; ... ... open (QUERY, '>query.txt'); $q->save(\*QUERY); print $q->header(); ... ...
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar";
$nysus = $PM . $MCF;
In reply to Saving and storing form params with cgi.pm by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |