# New Ticket Created by Carlin Bingham # Please include the string: [perl #122358] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=122358 >
The test "slurp() on directories fails" in S32-io/slurp.t does not pass on OpenBSD as slurp() on a directory does not seem to die on OpenBSD. Tested with Moar/Rakudo OpenBSD (running on VirtualBox 4.2.18_OSE r88780): $ perl6 -e 'slurp "t/"' # (no output) $ perl6 -e 'my $x = slurp "t/"; say $x.WHAT; say $x.perl' (Str) "" $ uname -srvm OpenBSD 5.5 GENERIC.MP#315 amd64 Linux: $ perl6 -e 'slurp "t/"' Reading from filehandle failed: illegal operation on a directory