![]() |
|
There's more than one way to do things | |
PerlMonks |
Re^6: greater efficiency required (ls, glob, or readdir?)by kyle (Abbot) |
on Aug 27, 2008 at 19:38 UTC ( #707276=note: print w/replies, xml ) | Need Help?? |
In this case, cat outputs its own error with what would be $!.
It might be cleaner to "exit 1 if $?" rather than die to avoid the useless "Died" message (but then you don't get the line number). Update: Hmmm, when I hit 'reply', the node I replied to said only, Do you deem "Died at x.pl line y." acceptable?
In Section
Seekers of Perl Wisdom
|
|