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
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
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.