in reply to question on exitcode provided by status() method of Win32::Job
Sometimes programs to use system error codes as exit codes. For example, Perl uses $! as as the error code when you call die. A quick and dirty way of finding the meaning of an system error number is to assign it to $^E.
$ perl -E'$^E=13; say $^E;' Permission denied
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: question on exitcode provided by status() method of Win32::Job
by BrowserUk (Patriarch) on Nov 17, 2010 at 05:26 UTC | |
by ikegami (Patriarch) on Nov 17, 2010 at 06:04 UTC |