in reply to Re: Is there an easy way to assign guaranteed unique values to a simple array without looping through whole array?
in thread Is there an easy way to assign guaranteed unique values to a simple array without looping through whole array?
Then I can do:my $test; unless (exists($hash{$test})) { $hash{$test} = localtime; # For sorting later on }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Is there an easy way to assign guaranteed unique values to a simple array without looping through whole array?
by kyle (Abbot) on Nov 29, 2007 at 22:35 UTC | |
by memnoch (Scribe) on Nov 29, 2007 at 23:20 UTC |