I don't know PERL, but this is how you do it in Perl (with perl) and catch it in the a shell. (And as a bonus, even echo the caught value.)
HTH,
Update: Yup, gaal is right. In this context, "the shell" does not exist. I have modified my answer accordingly.
print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!
In reply to Re: EXIT code
by Sidhekin
in thread EXIT code
by bedanta
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |