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

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

Thread Previous
From:
James E Keenan via RT
Date:
September 22, 2014 22:51
Subject:
[perl #122690] ‘Bareword "%s" refers to nonexistent package’ should go
Message ID:
rt-4.0.18-22891-1411426288-1738.122690-15-0@perl.org
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 (jkeenan@cpan.org)

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=122690

Thread Previous


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