in reply to Remove redundency from an array
my @array = (1,1,3,3,2,3,5,7,5,2); # uniqify without modules @array = do { @$_{@array} = (); keys %$_ };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Remove redundency from an array
by jdporter (Paladin) on Sep 24, 2007 at 18:56 UTC | |
by mwah (Hermit) on Sep 24, 2007 at 19:16 UTC | |
by ikegami (Patriarch) on Sep 24, 2007 at 19:34 UTC | |
by mwah (Hermit) on Sep 24, 2007 at 19:47 UTC | |
by ikegami (Patriarch) on Sep 24, 2007 at 19:52 UTC | |
| |
by jdporter (Paladin) on Sep 24, 2007 at 20:05 UTC | |
|
Re^2: Remove redundency from an array
by Roy Johnson (Monsignor) on Sep 24, 2007 at 21:48 UTC |