Perl Monk, Perl Meditation | |
PerlMonks |
selecting values from hash via listby leocharre (Priest) |
on Nov 06, 2009 at 21:01 UTC ( [id://805582]=perlquestion: print w/replies, xml ) | Need Help?? |
leocharre has asked for the wisdom of the Perl Monks concerning the following question:
I have a hash or hashref.
Let's make it easy, a hash.
I'm going to print some of this data with printf..
What's another way to specify those three values? Specifically, as you would as list args.. I know this has to be out there. I like this trick to init hash keys (learned it here).. Maybe there's some way to ...err... uhhhm ... ??? (sorry about the title, dunno how else the heck to word this) update Silly me, that second example, that was the solution, thanks toolic
Back to
Seekers of Perl Wisdom
|
|