![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Hash from packageby reasonablekeith (Deacon) |
on Jan 04, 2007 at 09:40 UTC ( #592914=note: print w/replies, xml ) | Need Help?? |
I wouldn't call it cheating. You've already hardcoded some text and the hash key. Sagacity's suggestion is perfectly reasonable.
You're probably asking the wrong question. "How do I get key values from a hash?" is more likely what you're after.
--- my name's not Keith, and I'm not reasonable.
In Section
Seekers of Perl Wisdom
|
|