I can write either
    $path.IO ~~ :e
or
    $path.IO.e

to check if a $path exists. Is either of those recommended?

How can I check for size? Based on my understanding of src/core/IO.pm
I'd think it is
    $path.IO.s
but that only returns True/False for a file that exists/or not.
Is this a bug or I don't understand it?

In any case IMHO it would be better to have that as

   $path.IO.size

and maybe the other short letters would be also better to have the full name.
Or both options.


Gabor

Reply via email to