Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: loop to allocate values to variablesby holli (Abbot) |
on Aug 17, 2005 at 15:11 UTC ( [id://484464]=note: print w/replies, xml ) | Need Help?? |
That seems a bit odd to me. You already have a hash, so why not work with that directly instead of putting its contents into independent variables. However, this code: is not doing what you think it does. It is just looping over the two values. prints "foobar". What you want would be more along the lines of
holli, /regexed monk/
In Section
Seekers of Perl Wisdom
|
|