develooper Front page | perl.perl5.porters | Postings from March 2000

RE: A plea for more pollution

From:
Nick Ing-Simmons
Date:
March 17, 2000 09:45
Subject:
RE: A plea for more pollution
Message ID:
E12W0ok-0000R3-00@mserv1b.u-net.net
Horsley Tom <Tom.Horsley@ccur.com> writes:
>
>Now, if I'm understanding all this, we are going to explicitly look
>through the source for colliding names and automatically cause those
>modules to be POLLUTed?

The "look through the source" worries me. For several reasons:

1. More complex/creative modules may hide the source in strange places.
2. If you do find all of Tk's source greping it may take some time.
3. Grepping needs to be done carefully I don't want e.g.

#undef dirty

To trigger "ah ha! this module is using 'dirty' better compile it with 
POLLUTE=1"

When the code in question is specifically to work round pollution in older
perls!

At very least I ask there be something those of us that are hurt by the 
pollution and/or have taken the trouble to do the right thing can put 
in Makefile.PL to force the issue.

-- 
Nick Ing-Simmons




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