Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Printing the keys/values of a blessed hash?by Kanji (Parson) |
on Aug 13, 2003 at 23:00 UTC ( [id://283713]=note: print w/replies, xml ) | Need Help?? |
You can do a for ( my($k,$v) = each %$obj ) { ... } to give you a basic idea of what's inside the hash, but I personally use Data::Dumper in these types of situations as it will automatically recurse multi-dimensional arrays, hashes, etc.
--k.
In Section
Seekers of Perl Wisdom
|
|