{ { open my $fh, q{>}, q{outfile.txt} or die qq{open: > outfile.txt: $!\n}; print $fh qq{ ... }; } }
I hope this is of interest.
Cheers,
JohnGG
In reply to Re: Implicit closing of files
by johngg
in thread Implicit closing of files
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |