i`m not quite shure because i`m a newbie to, but
try using some RegExp like tr/<some pattern>/<final idea>/
and dont forget that tr// and s// have many more functions ex. using the
(?). The book that i find most explainable about RegExp is Beginning Perl
from Wrox Publishing.


---------------------
Cheers,
Miroslav Nikolov
---------------------


On Mon, 22 Apr 2002, Jon Howe wrote:

> Can anyone tell me the best method for removing duplicate array values.
>
> eg:
>
>  @array = qw( a a a b b b c);
>
> becomes after some operation I cant seem to figure:
>
> @new_array_or_same = (a b c);
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to