https://docs.perl6.org/language/io.html
From the above manual, the example to check if a file exists:
if "nonexistent_file".IO.e {
say "file exists";
}
else {
say "file doesn't exist";
}
Sound backwards to me. What am I missing?
Many thanks,
-T
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I am Windows
I am the Blue Screen of Death
No one hears your screams
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
