This looks better now:

$ perl6-m foo
Could not open foo. Failed to open file: no such file or directory
$ perl6-p foo
Could not open foo. Unable to open filehandle from path 'foo': No such file or 
directory(2)
$ perl6-j foo
Could not open foo. java.nio.file.NoSuchFileException: foo

So, I'd say closable with tests. (Though I don't know how a good test would 
look like.)

Reply via email to