If you use Unix type of system, there a full shell solution: - print your array to a text file - sort the file with the unix command 'sort' - remove the multiple lines with the unix command 'uniq'
You may find the details in the man Gabaux Linux is like a wigwam: no gates, no windows, and an apache inside! From: Adriano Allora <[EMAIL PROTECTED]> Subject: it seems impossible to me... Date: Fri, 27 Jun 2003 13:14:30 +0200 > Hi to all, > > I have to clean a huge array in wich every element is a text line. My > cleaning consists in deleting each item if it appears more than one > time. > > I cannot use hashes and I'd prefer avoiding foreach cycles (I have a > lot of arrays, and so...). > > I searched a function wich works in this way, but I did'n find it. It > ssems impossible to me, but it misses to perl? > > someone can help me? > > thanks! > > > all'adr > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]