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

Re: [ID 19991119.002] Suggestion for a new warning

Thread Previous | Thread Next
Dan Sugalski
November 19, 1999 07:33
Re: [ID 19991119.002] Suggestion for a new warning
Message ID:
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 <> 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

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)


----------------------------------------"it's like this"-------------------
Dan Sugalski                            even samurai                           have teddy bears and even
                                        teddy bears get drunk

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About