On Sat, Jul 11, 2015 at 7:28 PM, Alex Jakimenko <
[email protected]> wrote:

> $ perl6 somefolder
> Error while reading from file: Reading from filehandle failed: illegal
> operation on a directory
>

Note that behavior here can differ substantially: some OSes won't let you
open a directory (Windows, I think); some let you open but not read (Linux?
must use getdents(2)), some let you read (*BSD / OS X, and you get "raw"
directory entries).

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to