in reply to Re: Re: OO Perl: Methods To Reference Hash
in thread OO Perl: Methods To Reference Hash
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 ]
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: OO Perl: Methods To Reference Hash
by P0w3rK!d (Pilgrim) on Jun 03, 2003 at 21:34 UTC |