On Sun, 8 Dec 2002, christopher j bottaro wrote:

> hey,
> perl's got so many nifty little functions to make my life easier, i wonder if 
> it has anything that lets you see if an item exists in an array or if two 
> arrays are disjoint or the set difference of two arrays or anything like 
> that.  sure i could write my own func, but hey, if its already there...=)
> 
> thanks...
> christopher
> 
> P.S.  i looked in perlfunc but didn't find anything...

For such an operation you should be using an hash instead of an array.
perldoc -q 'How can I tell whether a certain element is contained in a list or array'


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

Reply via email to