in reply to Re: creating valid paths for Path::Tiny
in thread creating valid paths for Path::Tiny
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" ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: creating valid paths for Path::Tiny
by Lotus1 (Vicar) on Aug 14, 2018 at 19:27 UTC |