New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AutoLoad/AutoSplit negates compile- and run- time strict/warnings #4510
Comments
From jwest@cptech.comConsider the following module. ---[begin: testmod.pm]--- use strict; 1; __END__ sub test_routine { my $foo = "foo"; } If one is to, after creating this file, run perl -c against it, it compiles Global symbol "$typo" requires explicit package name at testmod.pm line 14. as one might expect when using strict. Without strict, you also do not get Name "testmod::typo" used only once: possible typo at testmod.pm line 14. I can understand that this is likely the case as code after the __END__ What's more, if you were to AutoSplit the module a la MakeMaker and use It seems to me that either AutoSplit should be changed to not expect code If these are known problems, or non-issues, I apologize for taking up your Thank you for your consideration. If I can be of further service, please do --John West -- Perl Info
|
From marc.girod@gmail.comThis problem is unchanged in 5.10. Would it be possible to disable the use of the split hierarchy on a I am assuming that this could restore the "use (strict|warnings)" |
Migrated from rt.perl.org#7825 (status was 'open')
Searchable as RT7825$
The text was updated successfully, but these errors were encountered: