in reply to Re^4: Delete files with Perl in Windows
in thread Delete files with Perl in Windows

quotemeta is intended to quote the regular expression metacharacters, not the metacharacters of all special syntax string parsing problems. Quotemeta is for perl regex only.

I believe "its" intent is to perform as documented. quotemeta is documented to escape all characters except /[A-Za-z_0-9]/. Regular expressions have nothing to do with it. quotemeta can be used anywhere such an escaping scheme is acceptable, including to quote text to include in generated

(Note that \Q..\E is just a shortcut for quotemeta.)

The wildcards in glob() are system-specific

Not anymore. They are documented in File::Glob.

Update: Added code samples.