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

Re: PERL_HEADER env varb: was: Addition to @INC

Thread Previous | Thread Next
From:
duff
Date:
October 21, 1999 15:11
Subject:
Re: PERL_HEADER env varb: was: Addition to @INC
Message ID:
19991021171948.I17183@cbi.tamucc.edu
On Thu, Oct 21, 1999 at 02:46:25PM -0700, Chip Salzenberg wrote:
> According to Ed Peschko:
> > Suppose you want to export a certain module everywhere, so it is 
> > visible to each scope. (Dumper, strict, whatever). What would really
> > be necessary is having these 'use' statements attached to each 'package'
> > statement.
> 
> Then you're SURE to break things, because all of those modules would
> end up imported into every single module, certainly including some
> that just don't want things imported into them, thank you very much.

And of course let's not forget about recusive use'ing in modules.

-Scott
-- 
Jonathan Scott Duff
duff@cbi.tamucc.edu

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