How to find easily an element
Hi, How to find easily if an element $val is in a given list @list ? Thanks Gilles
Re: How to find easily an element
On Nov 6, 2005, at 18:27, Gilles wrote: Hi, How to find easily if an element $val is in a given list @list ? perldoc -q contain -- fxn PS: BTW, Perl has lists and arrays, though only arrays can be stored in variables. In that case @list is not a list, it is an array. See perldoc -q diff