in reply to next unless - doesnt work?
Show us the complete loop. "If LABEL is omitted, the command refers to the innermost enclosing loop" (next)
update: better to do grep {$name eq $_} @names
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: next unless - doesnt work?
by sweepy838 (Acolyte) on Apr 28, 2012 at 15:16 UTC | |
by stevieb (Canon) on Apr 28, 2012 at 15:35 UTC | |
by jeanluca (Deacon) on Apr 28, 2012 at 16:18 UTC | |
by thomas895 (Deacon) on Apr 28, 2012 at 20:49 UTC | |
by eyepopslikeamosquito (Archbishop) on Apr 28, 2012 at 22:10 UTC | |
by ikegami (Patriarch) on Apr 30, 2012 at 19:35 UTC | |
by Anonymous Monk on Apr 28, 2012 at 15:36 UTC | |
by brx (Pilgrim) on Apr 28, 2012 at 15:42 UTC | |
by sweepy838 (Acolyte) on Apr 28, 2012 at 16:17 UTC | |
by ww (Archbishop) on Apr 28, 2012 at 17:13 UTC |
In Section
Seekers of Perl Wisdom