XP is just a number | |
PerlMonks |
Re^2: Testing for readdir failure (Perl-bug)by Corion (Patriarch) |
on May 25, 2013 at 08:07 UTC ( [id://1035243]=note: print w/replies, xml ) | Need Help?? |
perlvar says in the second paragraph about $!: Many system or library calls set errno if they fail, to indicate the cause of failure. They usually do not set errno to zero if they succeed. This means errno , hence $! , is meaningful only immediately after a failure:
In Section
Seekers of Perl Wisdom
|
|