Skip Menu |

This queue is for tickets about the pmtools CPAN distribution.

Report information
The Basics
Id: 79291
Status: resolved
Priority: 0/
Queue: pmtools

People
Owner: MLFISHER [...] cpan.org
Requestors: NEILB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 1.10
  • 1.20
Fixed in: (no value)



Subject: Devel::Loaded includes itself in the output
When you use Devel::Loaded it includes the path to itself in the output. This is down to the bug in the following line: delete $INC{"Loaded.pm"}; The module used to be called "Loaded", and this line worked. But now it's Devel::Loaded, the line needs changing. On Unix systems you could write: delete $INC{'Devel/Loaded.pm'}; But to be portable, the path might also be Devel\Loaded.pm or Devel:Loaded.pm (unlikely these days). You could just do multiple deletes, and be confident that one of them will get it, or remove the delete line and do something like: for my $path (values %INC) { next if $path =~ m!Devel[:/\\]Loaded.pm$!; print "$path\n" unless $Seen{$path}; } If you haven't the time or inclination to release an update, I'd be happy to, if you want to give me comaint? My pause id is NEILB.
Resolved in pmtools v1.30.