Keep It Simple, Stupid | |
PerlMonks |
Get the Keys in the Hashby vishi83 (Pilgrim) |
on Nov 05, 2005 at 15:11 UTC ( [id://505989]=perlquestion: print w/replies, xml ) | Need Help?? |
vishi83 has asked for the wisdom of the Perl Monks concerning the following question: hi great ppl !!1 Look this,
It must be clear that i'm printing this hash ref with a dumper .. I dint give my code, coz i hav used lot of my own modules in that .. so thot it would be little confusing to all ...
I hav generated this hash from a db table ...For this i have written a method ('fetchit')... so this method will return the table desc as a hash..
NOw i got struck in one thing.. please help me in this..
I want to print only the FIELD names present inside that hash.. here the field names are id and name ..
Thanks in advance
A perl Script without 'strict' is like a House without Roof; Both are not Safe;
Back to
Seekers of Perl Wisdom
|
|