![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re^2: Checking success of open() on file held in scalar ref.by djp (Hermit) |
on Nov 15, 2007 at 05:56 UTC ( #650925=note: print w/replies, xml ) | Need Help?? |
Suggest checking for print failure, as well as close failure, via 'print FH or die $!'. Use /dev/full for testing this otherwise hard-to-test condition.
In Section
Seekers of Perl Wisdom
|
|