in reply to Re^2: Exiting eval via next: is that so bad?
in thread Exiting eval via next: is that so bad?
Please forgive necromancy.
Hi
New questions go in Seekers Of Perl Wisdom
Welcome
You might wish to review The Perl Monks Guide to the Monastery, How do I post a question effectively?, Where should I post X?
$ perl -wle " 0+$foo; LABEL: for(1,2){ eval { next LABEL; }; }" Useless use of addition (+) in void context at -e line 1. Name "main::foo" used only once: possible typo at -e line 1. Use of uninitialized value $foo in addition (+) at -e line 1. Exiting eval via next at -e line 1. Exiting eval via next at -e line 1. $ perl -wle " no warnings q[exiting]; 0+$foo; LABEL: for(1,2){ eval { + next LABEL; }; }" Useless use of addition (+) in void context at -e line 1. Name "main::foo" used only once: possible typo at -e line 1. Use of uninitialized value $foo in addition (+) at -e line 1.
Related discussions Exiting subroutine via next, #29238: exiting eval via last
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Exiting eval via next: is that so bad?
by dd-b (Monk) on Oct 17, 2011 at 20:48 UTC | |
by Anonymous Monk on Oct 18, 2011 at 11:00 UTC | |
by jdporter (Paladin) on May 05, 2012 at 01:25 UTC | |
by Anonymous Monk on May 05, 2012 at 08:10 UTC |
In Section
Seekers of Perl Wisdom