in reply to How to get the exit status and the output of the command launched in perl
backquotes operator can only get the output of the commandbackticks also can get exit status the same way the system does. You can read it from $?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to get the exit status and the output of the command launched in perl
by sunshine_august (Scribe) on May 26, 2009 at 10:31 UTC | |
by almut (Canon) on May 26, 2009 at 10:47 UTC |
In Section
Seekers of Perl Wisdom