Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Given When Syntaxby Deep_Plaid (Acolyte) |
on Mar 15, 2014 at 16:12 UTC ( [id://1078458]=note: print w/replies, xml ) | Need Help?? |
Hi HazyLife. I did consider using the Switch module, but I had read that it is being deprecated and that I should be using given/when, and that is is more efficient. No other reason I can't or won't - I was just curious why I'm getting the syntax errors for given/when. Also, this is a part of a much larger script that has a long processing time and I'm trying to be as efficient as possible. Thanks for your input!
In Section
Seekers of Perl Wisdom
|
|