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

[perl #118561] base.pm: failures loading modules are ignored when sub-package exists

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
June 22, 2013 01:02
Subject:
[perl #118561] base.pm: failures loading modules are ignored when sub-package exists
Message ID:
rt-3.6.HEAD-14341-1371862912-1022.118561-15-0@perl.org
On Thu Jun 20 17:26:51 2013, haarg wrote:
> This is a bug report for perl from haarg@haarg.org,
> 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
https://rt.perl.org:443/rt3/Ticket/Display.html?id=118561

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About