I have a long list of IP addresses I am going to be reading in (using
regexps) and then seperating out into a list of IP addresses.  I don't
want the IP addresses to be printed if they are not unique.

Is there a way to check if a string already has an element in a stack?

i.e. push @stack, $_ if is_unique($_, @stack); ?

Or would I have to code that myself?

-Dan


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

Reply via email to