my $foo = `true`; my $err = $? >> 8; system("echo Error code is $err >> /tmp/foo");
returns the same result...am I on crack?#!/usr/bin/perl exit 0;
Edited by BazB: added code tags
In reply to $? funkyness by mutated
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |