Use -f instead if you really mean to check for a plain file.
Another ++ I'd give for your example of enclosing the file name in visible delimiters like "<$file>".
However, use 5.011 implies strict (although use states 5.012 as the first with this property) so OP already is "strict-compliant" ;-)In reply to Re^2: creating valid paths for Path::Tiny
by soonix
in thread creating valid paths for Path::Tiny
by Aldebaran
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |