in reply to How to know the status of a command invoked by open function?
this should be 0 as the command execution is succesful
The fine manual says you should only check $! (or $?) after a system call fails
Its the only time the value of $!/$? is meaningfulopen ... or die $!; close ... or die $!; print ... or die $!;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to know the status of a command invoked by open function?
by ikegami (Patriarch) on Aug 16, 2011 at 00:43 UTC | |
by zhujian0805 (Sexton) on Aug 16, 2011 at 00:51 UTC | |
by ikegami (Patriarch) on Aug 16, 2011 at 00:56 UTC | |
by zhujian0805 (Sexton) on Aug 16, 2011 at 00:51 UTC | |
by ikegami (Patriarch) on Aug 16, 2011 at 00:54 UTC |