in reply to Determining uniqueness in a string.
This might prove to be a little quicker
sub uniq{ $_[0] !~ m[(.).*\1] }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Determining uniqueness in a string.
by thundergnat (Deacon) on Oct 01, 2005 at 01:14 UTC | |
by creamygoodness (Curate) on Oct 01, 2005 at 05:40 UTC | |
by QM (Parson) on Oct 03, 2005 at 19:59 UTC | |
by Anonymous Monk on Oct 01, 2005 at 01:53 UTC | |
by thundergnat (Deacon) on Oct 01, 2005 at 02:01 UTC | |
by Yzzyx (Beadle) on Oct 01, 2005 at 02:37 UTC | |
|
Re^2: Determining uniqueness in a string.
by kiat (Vicar) on Oct 02, 2005 at 06:41 UTC |