in reply to Re^4: Compare two arrays
in thread Compare two arrays
quotemeta (the \Q in the regex) makes sure that perl tries to find the string exactly as it is in $filename. If you don't use it, it will "translate" any meta character into its regex meaning. In your case, it probably does the same though.
|
|---|