laziness, impatience, and hubris | |
PerlMonks |
•Re: Illegal Seek from system() with no output from $?by merlyn (Sage) |
on Mar 27, 2002 at 05:12 UTC ( [id://154595]=note: print w/replies, xml ) | Need Help?? |
The value of $! is not useful or defined when it's not checked immediately after a failed system call (which doesn't include system, which is really a macro for a combination of fork/exec/wait steps). So, you're getting bogus
results from a bogus operation -- not surprising. {grin}
-- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|