On 18/02/2015 14:20, Peter Pentchev wrote:
> [roam_at_straylight ~]$ perl -e 'die("foo!\n");'; echo $?
> foo!
> 255
I think you should be ok, for the same reason why a shell is ok:
if you're using Perl, you're most likely writing your whole script
with it, especially control flow and error/crash checking.
You're not playing with an inner interpreter reporting a code to an
outer interpreter. So the weird 255 should not be a problem in
practice.
If I'm wrong and your use case precisely involves a perl script
running as P or C with G being an execline command, please mention
it! Just because I'd be curious. :)
--
Laurent
Received on Wed Feb 18 2015 - 14:31:20 UTC