For some reason, putting the eval'd structure in a my'd variable clears up the vivifacation issue. Go figure...sub FETCH { my ($this, $key)=@_; return $this->{'l'}{$key} if exists $this->{'l'}{$key}; my $v=eval($this->{f}{$key}); return $this->{'l'}{$key}=$v; }
In reply to TIEHASH: Solved
by jhanna
in thread TIEHASH hiccup?
by jhanna
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |