On 03/21/2017 03:50 AM, Simon Proctor wrote:
.e checks a path exists.
.f checks it exists AND is a file.
.d checks it exists AND is a directory.

(Perl 5 was the -e, -f and -d tests)

Beautiful explanation!  Thank you!

Perl 5 has the (about) same test as bash and I write
a lot in that too.  (I am trying to move all
my new programming into Perl 6 and stop with
bash and Perl 5.)

-T

Reply via email to