Closed p5pRT closed 20 years ago
On Fri\, 8 Dec 2000\, Jarkko Hietaniemi wrote:
Gaaack. What I don't get is why I'm not seeing all these strictness failures...?
I think that C\<use vars qw($Foo %bar);> is not rendering $Foo nor %bar in the proper way (putting in the symbol table) on OS/390.
Here is a simple case:
$ ./perl -Ilib -Mstrict -e 'use vars qw($Foo %bar); $Foo = 42' Global symbol "$Foo" requires explicit package name at -e line 1. Execution of -e aborted due to compilation errors. $
Whereas this one quiets it (no strict stderr message):
$ ./perl -Ilib -Mstrict -e 'use vars qw($Foo); our $Foo = 42' $
Peter Prymmer
Migrated from rt.perl.org#4882 (status was 'resolved')
Searchable as RT4882$