Whenever you're trying to debug data structures, I recommend using Data::Dumper. This will help you see the structures in Perl syntax, and will avoid any bugs you may introduce in your own home-spun "dumping" methods.
use Data::Dumper; ... print Dumper \%hashFoo; print Dumper $refHashFoo;
Other useful learning materials are in perlreftut and perllol.
--
[ e d @ h a l l e y . c c ]
In reply to Re: Re: Re: OO Perl: Methods To Reference Hash
by halley
in thread OO Perl: Methods To Reference Hash
by P0w3rK!d
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |