develooper Front page | perl.perl5.porters | Postings from November 1999

Re: [ID 19991119.002] Suggestion for a new warning

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
November 19, 1999 07:33
Subject:
Re: [ID 19991119.002] Suggestion for a new warning
Message ID:
3.0.6.32.19991119103530.00c607f0@tuatha.sidhe.org
At 03:21 PM 11/19/99 +0000, Mike Taylor wrote:
>Apologies for sending this to what I suspect is an inappropriate
>address, but would you mind forwarding it for me please?
>(And what's the <suggestion-box@perl.org> address?)
>
>My suggestion: I'd like to be able to turn on a warning that lets me
>know if my program contains function calls to functions that I haven't
>defined.

Except this will kill:

1) AUTOLOADed things
2) A goodly chunk of the perl core modules that have platform-specific
function calls in code protected by "if ($^O eq 'whatever')"
3) Code that requires things
4) Code written by folks getting altogether too clever with symbol tables

Nothing insurmountable, though fixing #2 would take some work. (Presumably
people affected by 1, 3, or 4 just Won't Do That)

					Dan

----------------------------------------"it's like this"-------------------
Dan Sugalski                            even samurai
dan@sidhe.org                           have teddy bears and even
                                        teddy bears get drunk

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About