On Fri, Sep 29, 2017 at 12:41 AM, ToddAndMargo <[email protected]> wrote:
> Does perl 6 have an equivalent to bash's "-f" to
> see if a file exists? Or is that a system call?
>
IO::Path's .f method. (Or .e to not require it to be a file, etc. as usual.)
pyanfar Z$ 6 '".profile".IO.f.say'
True
--
brandon s allbery kf8nh sine nomine associates
[email protected] [email protected]
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
