: and may I suggest a little loop like this :
:
:foreach (keys %hash)
:{
: print "$_ :: $hash{$_}\n";
:}
:
: which will print the content of the hash in a nice looking fashion.
:
I have found Data::Dumper to be excellent in printing lol's and references
in a pretty fashion.
use Data::Dumper;
print Dumper $doodah; # $doodah is a reference
# to a hash
prints this....
$VAR1 = {
'key1' => 'value',
'key2' => 'value'
}
It even works on references of lists of references of lists of references of
lists!
- PERL DB Question Prabhu, Vrunda P (UMC-Student)
- Re: PERL DB Question victor
- Re: PERL DB Question Michael Fowler
- RE: PERL DB Question Prabhu, Vrunda P (UMC-Student)
- Re: PERL DB Question victor
- RE: PERL DB Question Prabhu, Vrunda P (UMC-Student)
- Re: PERL DB Question victor
- Re: PERL DB Question Vrunda Prabhu
- Re: PERL DB Question victor
- Re: PERL DB Question Vrunda Prabhu
- Stephen Neu
