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.