The documentation indicates that any filehandle is valid. Since passing older-style (pre-5.6?) filehandles is tricky, using the newer method is easier. That's $fh instead of FHif (open($fh, ">", $file)) { $query->save($fh); close($fh); } else { # Die? Complain? }
In reply to Re: Saving state in cgi.pm question
by tadman
in thread Saving state in cgi.pm question
by Popcorn Dave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |