in reply to Re: 5.10 shows uninitialized $@ warning
in thread 5.10 shows uninitialized $@ warning
use warnings; my $denum = 0; eval { local $SIG{'__DIE__'} = sub { die $@ }; print 1 / $denum; }; print "[$@]\n";
>c:\progs\perl588\bin\perl script.pl [Died at script.pl line 4. ] >c:\progs\perl5100\bin\perl script.pl [Died at script.pl line 4. ]
This is perl, v5.8.8 built for MSWin32-x86-multi-thread Binary build 817 [257965] provided by ActiveState http://www.ActiveSta +te.com This is perl, v5.10.0 built for MSWin32-x86-multi-thread Binary build 1001 [283495] provided by ActiveState http://www.ActiveSt +ate.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: 5.10 shows uninitialized $@ warning
by syphilis (Archbishop) on May 16, 2008 at 14:54 UTC | |
by ikegami (Patriarch) on May 16, 2008 at 15:07 UTC | |
by syphilis (Archbishop) on May 16, 2008 at 15:28 UTC | |
by ikegami (Patriarch) on May 16, 2008 at 18:53 UTC | |
by Anonymous Monk on May 17, 2008 at 10:20 UTC |