Skip Menu |
Report information
Id: 132110
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: dzwell [at]

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Date: Sun, 17 Sep 2017 13:38:47 +0000
From: Dan Zwell <dzwell [...]>
Subject: [BUG] cannot include a module directory if some subdirectory cannot be opened
To: "rakudobug [...]" <rakudobug [...]>
Download (untitled) / with headers
text/plain 588b
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.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at