Perl Monk, Perl Meditation | |
PerlMonks |
Re: pattern matchingby mwah (Hermit) |
on Nov 22, 2007 at 10:47 UTC ( [id://652348]=note: print w/replies, xml ) | Need Help?? |
GrandFather already identified the problem in your code; in case you'd like to extend your program to other numerals (1,2,3 - as noted by gangabass), there's another variant:
Regards mwa
In Section
Seekers of Perl Wisdom
|
|