develooper Front page | perl.perl5.porters | Postings from September 2014

[perl #122690] ‘Bareword "%s" refers to nonexistent package’ should go

Thread Previous
James E Keenan via RT
September 22, 2014 22:51
[perl #122690] ‘Bareword "%s" refers to nonexistent package’ should go
Message ID:
On Tue Sep 02 23:00:22 2014, sprout wrote:
> ‘Bareword "%s" refers to nonexistent package’
> This warning occurs when you do Foo::->bar and Foo is defined later on
> in the file.  This warning discourages good practice in favour of a
> more ambiguous syntax (Foo->bar, which could mean Foo()->bar).  Hence,
> I think it should be deleted.

1. Does anyone want to second this motion?

2. Can anyone identify reasons why we should not delete this warning?

Thank you very much.

James E Keenan (

via perlbug:  queue: perl5 status: new

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