Hi All,

I am over on
https://docs.perl6.org/routine/indir

I can make heads of tails out of what is going on.

I want to check is a file exists.


$ perl6 -e 'say indir("./EchoTest");'
===SORRY!=== Error while compiling -e
Calling indir(Str) will never work with any of these multi signatures:
    ($path, &what, :$test!)
    ($path, &what, :$d = Bool::True, :$r, :$w, :$x)
at -e:1


Many thanks,
-T

Reply via email to