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

[perl #121638] 'Global symbol "$identifier" requires explicit package' error message

Thread Next
Karl Williamson via RT
July 29, 2014 17:26
[perl #121638] 'Global symbol "$identifier" requires explicit package' error message
Message ID:
On Tue Apr 15 02:38:00 2014, b_jonas wrote:
> If you're fixing old error messages, can you fix a few others too?
> 1. Remove 'Unquoted string "%s" may clash with future reserved word' ?
> These days, if perl5porters add a reserved word, it's protected by
> 'use feature' so it can't clash with a bareword in old code.
> 2. Improve 'Variable "%s" is not imported' which you get when you use
> the wrong slot of an existing glob, such as in 'use strict; our $x =
> [3,1,4]; my $n = $x[0];' ?  The error has nothing to do with importing
> anything.  Even the perldiags entry is confusing, because it keeps
> talking about importing from a module.

Could someone suggest better wording?
Karl Williamson

via perlbug:  queue: perl5 status: open

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