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
Suggestion for a new warning #877
Comments
From mike@tecc.co.ukMy suggestion: I'd like to be able to turn on a warning that lets me my $a1 = foo1(); sub foo1 { should report "foo2() not defined" when given the appropriate I appreciate that there is an overhead here, so you'd not want this to Thanks for listening, Mike Taylor (Oh, and thanks for Perl -- loving it!) |
From [Unknown Contact. See original ticket]At 03:21 PM 11/19/99 +0000, Mike Taylor wrote:
Except this will kill: 1) AUTOLOADed things Nothing insurmountable, though fixing #2 would take some work. (Presumably Dan ----------------------------------------"it's like this"------------------- |
From [Unknown Contact. See original ticket]
Uuuh ...
Erm ...
Duh!
Ahem. But otherwise, it's great idea, right? :-)
Hmm, I can't see it. Never mind, and thanks for the ultra-prompt Mike Taylor |
From [Unknown Contact. See original ticket]
Yes, actually.
No, you have a good point. It's exceedingly annoying to no autoload; or some such. That doesn't solve the issue for method calls, and it is compile-time only perl -MO=Lint,-context,-undefined-subs myperlprogram might make you happy. Then again, that's hardly a user-friendly --tom |
From [Unknown Contact. See original ticket]At 03:56 PM 11/19/99 +0000, Mike Taylor wrote:
Yep. Heck, I'd love to have it at times too. None of the problems are Dan ----------------------------------------"it's like this"------------------- |
From [Unknown Contact. See original ticket]
Oh, thanks :-)
Ah, no I didn't know about that -- many thanks, I'll check it out.
No idea, I've only been writing Perl since July! Mike Taylor |
From [Unknown Contact. See original ticket]Dan Sugalski writes:
Since it would be lexical, it will not be even as bad as that. You Ilya |
Migrated from rt.perl.org#1808 (status was 'resolved')
Searchable as RT1808$
The text was updated successfully, but these errors were encountered: