in reply to Return code from calling qx
I getqx(dir thisdoesntexist); print $?;
RunningFile Not Found 256
returnsqx(dir thisdoesntexist); print $?>>8;
What does it mean to be shifting bits by 8 and how did that change the return code to 1?File Not Found 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Return code from calling qx
by johna (Monk) on Oct 27, 2009 at 20:06 UTC | |
by f50bodykit (Initiate) on Oct 27, 2009 at 20:24 UTC | |
by Discipulus (Canon) on Oct 28, 2009 at 10:31 UTC |