david2008 has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
My question is what the meaning of the warnings is and what harm does it do ?
Thanks,
David
I am aware that this item was discussed in perlmonks
http://www.perlmonks.org/?node_id=104789
but i don't understand the outcome.
If i have the following code
I get the warning exit eval via next.foreach my $item(@items) { eval { next if(is_problematic($item)); do_something($item); }; if($@) { warn "problem with $item $@"; } }
My question is what the meaning of the warnings is and what harm does it do ?
Thanks,
David
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: perl exit eval via next in a loop
by tobyink (Canon) on Jul 17, 2013 at 14:36 UTC | |
by david2008 (Scribe) on Jul 17, 2013 at 14:48 UTC | |
Re: perl exit eval via next in a loop
by hardburn (Abbot) on Jul 17, 2013 at 14:30 UTC |
Back to
Seekers of Perl Wisdom