mutated has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: $? funkyness
by Old_Gray_Bear (Bishop) on Feb 11, 2004 at 21:45 UTC | |
|
Re: $? funkyness
by bluto (Curate) on Feb 12, 2004 at 00:46 UTC |