Hello,
Maybe saving the previous value ?
my $oldvalue = $SIG{__DIE__};
#Do wathever you want with $SIG{__DIE__}
$SIG{__DIE__} = $oldvalue;
--
tfe
http://tfeserver.homelinux.com
On 26 oct, 12:54, [EMAIL PROTECTED] (Jeff Pang) wrote:
> use local,like:
>
> { # in a code block
>
Hello,
You should do it, maybe with a regex like that:
perl -e '$/=undef; $ips = `ifconfig`; while($ips =~ /(?:^|\n)(\S+)[^\n]
+(?:\n\s[^\n])*\n\s+inet addr:(\S+)/gm) { print "$1 is $2\n";}'
--
tfe
http://tfeserver.homelinux.com
On 27 oct, 07:13, [EMAIL PROTECTED] (Lists