Check out open and perlvar. From perlvar:
if (open(FH, $filename)) { # Here $! is meaningless. ... } else { # ONLY here is $! meaningful. ... # Already here $! might be meaningless. }
Liz
In reply to Re: Inappropriate ioctl for device
by liz
in thread Inappropriate ioctl for device
by alongwor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |