On 2012-07-21 19:16, punit jain wrote:

for my $step ( @steps ) {
    last if $STOP;

I would think the issue here is if the list is 30K long and we are still
at 2K why would be really like to process whole list ?
We can die or handle exit of the script gracefully in my understanding.

Is my understanding correct here  ?

How you want to handle $STOP is all up to you.

Often you will want to finish the current step, but not start a new step, like I showed in the code above.

But it all depends on what is practical for you.

You have all the ingredients now, so start cooking.

--
Ruud


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to