in reply to Re^2: Computed "my" declarations?
in thread Computed "my" declarations?
Better than a timestamp, store another hash in a key named after your package. In your Foo->new method, store a hash ref.
sub foo { my $self = shift; my $data = $self->{+__PACKAGE__}; $data->{...} }
|
|---|