Skip Menu |
 

This queue is for tickets about the Devel-Hide CPAN distribution.

Report information
The Basics
Id: 120220
Status: resolved
Priority: 0/
Queue: Devel-Hide

People
Owner: Nobody in particular
Requestors: haarg [...] haarg.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: @INC hook should die directly
Download (untitled) / with headers
text/plain 565b
Rather than generating a fake file with a die inside it, the @INC hook used should just die directly. This is both simpler and a closer match to perl's own behavior when it can't find a file. This is especially true on perl 5.8, where after a failure to load a missing module, the %INC entry should not exist. Generating a fake file like this module does leaves the apparent file entry in %INC, and later attempts to load the file will appear to succeed. Here is a demonstration of the differences: https://gist.github.com/haarg/c55c702c08fc59a8d61b1265f1c07353
Download (untitled) / with headers
text/plain 168b
On Fri Feb 07 23:25:00 2020, DCANTRELL wrote: Show quoted text
Devel::Hide 0.0011 has now been released with this patch in it.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.