in reply to A new perl {cough} feature?
What's interesting is how two consecutive calls to Data::Dumper without intervening code does not reproduce the anomaly (even if you pass by reference). Makes me wonder how Data::Dumper is traversing the structure.dump_matrix(); sub dump_matrix { for my $i (0..2) { print "row: $i [ "; for my $j (0..3) { print "$matrix[$i][$j], "; } print "]\n"; } }
--Jim
Update: Ah. Thanks tachyon, I would've researched it but I've been competing for computer time today. Five year olds always win :(
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: A new perl {cough} feature?
by tachyon (Chancellor) on Feb 17, 2002 at 20:19 UTC | |
by demerphq (Chancellor) on Feb 18, 2002 at 09:51 UTC |