For starters I hope you meant $? and not $_ >> 8 in your second
code snippet. You could wrap that bit shift any way you like such as
But of course TIMTOWTDI! Update:BTW: Welcome to the Monastery.$rc = sub { $? >> 8 }; # one way system(@mysyscall) and die "@mysyscall returned ", &$rc; # or if (system(@mysyscall)) { die "@mysyscall returned ", &$rc };
In reply to Re: System and a question of style
by submersible_toaster
in thread System and a question of style
by D.Millin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |