in reply to searching in array elements substrings contained in another array

To expand on what has already been suggested, use quotemeta or \Q and \E to escape data that is being placed inside a regexp; see perlre.
  • Comment on Re: searching in array elements substrings contained in another array

Replies are listed 'Best First'.
Re^2: searching in array elements substrings contained in another array
by Anonymous Monk on Nov 17, 2008 at 21:06 UTC
    Thanks, now it works great! Thanks to eff_i_g, too, for the added suggestions. Grateful for your help, have my best greetings Livius