http://qs1969.pair.com?node_id=343165


in reply to Re: Answer: How to find out if X is an element in an array?
in thread How to find out if X is an element in an array?

Do this or if you search for "1" it'll find "1" as well as "123"...
return(scalar(grep(/^$element$/, @updatelist)));
-julian geek
  • Comment on Re: Re: Answer: How to find out if X is an element in an array?