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


In reply to Re^3: Exiting eval via next: is that so bad? by Anonymous Monk
in thread Exiting eval via next: is that so bad? by jplindstrom

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":