# New Ticket Created by  Dan Zwell 
# Please include the string:  [perl #132110]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=132110 >


Use case: for testing modules as they are being edited, developers add '.'
to the module search path. Sometimes the current directory is not perfectly
clean. That should not prevent loading modules unless they are inside the
directory that can't be read.

To reproduce:
mkdir testdir
cd testdir
touch module.pm6
mkdir -p foo
perl6 -I. -Mmodule -e ''
# Successful output: nothing
chmod -r foo
perl6 -I. -Mmodule -e ''
# Output:
# ===SORRY!===
# Failed to open dir: 13

I'm running Rakudo version 2017.08-96-ge5a600997 built on MoarVM version
2017.08.1-135-ge86428d4 implementing Perl 6.c.

Reply via email to