Re: Given When Syntaxby LanX (Archbishop)
|on Mar 15, 2014 at 15:54 UTC||Need Help??|
I'm mobile and can't spot or test your problem.
Normally I recommend replacing given/when with for/if-constructs.
But in this particular case I don't understand why you are not simply using an array or a hash, holding the number's names.
( addicted to the Perl Programming Language)
Ehm... did you activate switch?
use feature "switch"; or use 5.010;