Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.88k stars 531 forks source link

Re: Not OK: perl v5.7.0 +DEVEL8042 on os390 05.00 (UNINSTALLED) #2972

Closed p5pRT closed 20 years ago

p5pRT commented 23 years ago

Migrated from rt.perl.org#4882 (status was 'resolved')

Searchable as RT4882$

p5pRT commented 23 years ago

From pvhp@forte.com

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