in reply to Dumping Tie Objects
Once I added the two functions, then the Dumper worked. But interestingly, how come Perl didn't tell me that the two functions need to be defined at all?sub FIRSTKEY { my ($self) = @_; each %{ $self->{'value'} }; } sub NEXTKEY { my ($self) = @_; each %{ $self->{'value'} }; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Dumping Tie Objects
by AnomalousMonk (Archbishop) on Nov 21, 2009 at 00:15 UTC |