in reply to recalling state with restore_parameters
Loose the quotes around "IN". IN and "IN" are not the same. Unquoted IN is filehandle *kind of for CGI.pm purposes* whereas "IN" is a quoted string. Normally you pass a file handle as a glob like *IN but CGI.pm is *unique* in terms of some of its methodology and interface:
open (IN,param('savefile')) || die "Can't open file to restore: $!"; restore_parameters(IN); close IN;
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|