Try that.$fh = FileHandle->new("> FOO"); if (defined $fh) { print $fh "bar\n"; $fh->close; }
In reply to Re: error using FileHandle Module
by Anonymous Monk
in thread error using FileHandle Module
by doubledecker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |