in reply to Hash table issue
You have a couple of errors in your print loop, corrected below
You can clean it up further like this,foreach (keys %info) { print "\t$info{$_}->[0]\t$info{$_}->[1]\t$info{$_}->[2]\t$info{$_} +->[3]\n"; }
for (values %info) { print "\t", join("\t", @$_), "\n"; }
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Hash table issue
by Anonymous Monk on May 08, 2004 at 21:42 UTC | |
by Zaxo (Archbishop) on May 08, 2004 at 21:55 UTC |