in reply to Can't find list of metacharacters

And it seems that <> characters are quoted, if I use quotemeta, but why they are meta?

quotemeta doesn't bother being smart about what it escapes, because it doesn't need to, and because a list of metacharacters might not be portable across different versions of Perl. quotemeta just escapes everything that might be special, even if that character isn't necessarily special at that point in the regex.

Always using quotemeta / \Q...\E is a good habit to get into when interpolating variables into regexes. I'd only not use them when I want the string in the variable to be interpreted as a regex, or when I know the variable I'm interpolating contains no special characters (something like /^[A-Za-z_0-9]*$/).