develooper Front page | perl.perl5.porters | Postings from June 2013

[perl #118561] failures loading modules are ignored when sub-package exists

Thread Previous | Thread Next
James E Keenan via RT
June 22, 2013 01:02
[perl #118561] failures loading modules are ignored when sub-package exists
Message ID:
On Thu Jun 20 17:26:51 2013, haarg wrote:
> This is a bug report for perl from,
> generated with the help of perlbug 1.39 running under perl 5.18.0.
> -----------------------------------------------------------------
> When base tries to load a module and finds that it doesn't exist, it
> ignores the error if anything the package's stash exists. This is by
> design, but causes issues when sub-packages exist. 

Can you elaborate a bit about what those issues would be?

> Attached is a patch
> that will ignore sub-packages, while still considering anything else
> in the stash as marking the package's existence.
> The patch is based on the base CPAN 2.18 release from CPAN.

Thank you very much.
Jim Keenan

via perlbug:  queue: perl5 status: new

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About