in reply to Compare two arrays

You can escape metacharacters in regular expressions using \Q and \E. Have a look at quotemeta.

Replies are listed 'Best First'.
Re^2: Compare two arrays
by kaushik9918 (Sexton) on Dec 05, 2014 at 14:39 UTC
    Thanks - the quotemeta function is very useful.