|
|
| go ahead... be a heretic | |
| PerlMonks |
Re^2: Understanding the benefit of Given/When ...by LanX (Monsignor) |
| on Mar 04, 2010 at 16:06 UTC ( #826731=note: print w/ replies, xml ) | Need Help?? |
|
So, why even want a continue block on given/when? It's not needed, and isn't consistent. I see what you mean, maybe I'm still too attached to the concepts of the workaround...(which is easier to understand for me) Anyway I think you have a plus because you can use last for leaving without executing the continue block.
OUTPUT:
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||