in reply to Re^3: lsearch for perl?
in thread lsearch for perl?
due to the undef being shared amongst all of the keys of the hash. That may be an urban legend that I heard somewhere, though. ;)my %unique; $unique{$_} = undef foreach @list; @list = keys %unique;
thor
The only easy day was yesterday
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: lsearch for perl?
by ikegami (Patriarch) on Dec 05, 2005 at 19:44 UTC |