in reply to Uniqueue
I'm curious, why did you use delete instead of overwriting the hash ref?
This:
--
Mike
must be less efficient than this:delete @{$self->{'hash'}}{ keys %{$self->{'hash'}} };
Are you worried about someone else having a reference to the same hash?$self->{hash}={};
--
Mike
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Uniqueue
by Zaxo (Archbishop) on Aug 29, 2002 at 20:00 UTC |
In Section
Code Catacombs