in reply to Implicit closing of files
{ { 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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Implicit closing of files
by rovf (Priest) on Jun 17, 2008 at 11:14 UTC |