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

Re: [ID 19991119.002] Suggestion for a new warning

Thread Previous | Thread Next
From:
Mike Taylor
Date:
November 19, 1999 07:56
Subject:
Re: [ID 19991119.002] Suggestion for a new warning
Message ID:
E11oqOt-0002Zw-00@fw-smtp.tecc.co.uk
> Date: Fri, 19 Nov 1999 10:35:30 -0500
> From: Dan Sugalski <dan@sidhe.org>
> 
>> 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

Uuuh ...

> 2) A goodly chunk of the perl core modules that have platform-specific
> function calls in code protected by "if ($^O eq 'whatever')"

Erm ...

> 3) Code that requires things

Duh!

> 4) Code written by folks getting altogether too clever with symbol tables

Ahem.

But otherwise, it's great idea, right?  :-)

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

Hmm, I can't see it.  Never mind, and thanks for the ultra-prompt
reply!  (BTW., was perlbug a reasonable address to send this to?)

	Mike Taylor
	TECC Ltd.
	mike@tecc.co.uk
	Tel. +44 181 880 4040


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