in reply to Re: without looping, check if $var is found in @list
in thread without looping, check if $var is found in @list

I swear there was a smaller solution than this, but I'll use this since it works and does exactly what I was looking for.

I understand one way or another a loop must be done but I wasn't comfortable using foreach() for my current use of this snippet.

Thanks!

  • Comment on Re^2: without looping, check if $var is found in @list