P is for Practical | |
PerlMonks |
Re^3: do-ing of file without \n at the endby sgifford (Prior) |
on Mar 31, 2007 at 06:31 UTC ( [id://607608]=note: print w/replies, xml ) | Need Help?? |
$! is undefined if no error has occured, and so can be set to absolutely anything. It's not clear to me why Perl ends up setting it to this particular value under these circumstances (I see the same thing on my machine), but that's really a trivia question; since the behavior is undefined, any value is valid.
In Section
Seekers of Perl Wisdom
|
|