f50bodykit has asked for the wisdom of the Perl Monks concerning the following question:
in particular the $rc >> 8 And why it is the number 8.my $result = qx($CommandGoesHere); $rc = $?; $rc = $rc >> 8 unless ($rc == -1);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Return code from calling qx
by ikegami (Patriarch) on Oct 27, 2009 at 19:19 UTC | |
by Argel (Prior) on Oct 28, 2009 at 00:16 UTC | |
by ikegami (Patriarch) on Oct 28, 2009 at 03:13 UTC | |
by Argel (Prior) on Oct 28, 2009 at 18:29 UTC | |
by SuicideJunkie (Vicar) on Oct 28, 2009 at 13:45 UTC | |
|
Re: Return code from calling qx
by Corion (Patriarch) on Oct 27, 2009 at 19:06 UTC | |
|
Re: Return code from calling qx
by jettero (Monsignor) on Oct 27, 2009 at 19:28 UTC | |
|
Re: Return code from calling qx
by gmargo (Hermit) on Oct 27, 2009 at 19:34 UTC | |
|
Re: Return code from calling qx
by f50bodykit (Initiate) on Oct 27, 2009 at 19:54 UTC | |
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 |