Don't ask to ask, just ask | |
PerlMonks |
hash from sub directly into foreach loopby jeanluca (Deacon) |
on Jun 30, 2006 at 08:08 UTC ( [id://558527]=perlquestion: print w/replies, xml ) | Need Help?? |
jeanluca has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks I tried to put a hash from a sub directly into a foreach loop, like this this looks like good perl programming to me, but it doesn't work however :( (It makes me feel like a beginner) Any suggestions ? Thnx LuCa UPDATE: I've update the sub and replace % into $
Back to
Seekers of Perl Wisdom
|
|