in reply to Re: Testing for readdir failure (Perl-bug)
in thread Testing for readdir failure
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:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Testing for readdir failure (Perl-bug)
by LanX (Saint) on May 25, 2013 at 10:26 UTC | |
by Anonymous Monk on May 26, 2013 at 00:20 UTC | |
by LanX (Saint) on May 26, 2013 at 00:56 UTC | |
by Bob Cook (Acolyte) on May 30, 2013 at 20:38 UTC |