in reply to 5.10 shows uninitialized $@ warning
On 5.10 (AS and Strawberry) that script runs without output. On perl 5.8.8 it outputs Illegal division by zero at try.pl line 4. for me.use warnings; eval { local $SIG{'__DIE__'} = sub { die $@ }; print 1 / 0; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: 5.10 shows uninitialized $@ warning
by ikegami (Patriarch) on May 16, 2008 at 14:35 UTC | |
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 | |
|
Re^2: 5.10 shows uninitialized $@ warning
by pmSwim (Acolyte) on May 16, 2008 at 14:55 UTC |