On Fri, 10 Aug 2001, Birgit Kellner wrote:
> If I have one script that requires another and I want to make the former's
> global variables available in the latter, and have use strict NOT complain,
> what should I do? Perhaps I should not use "require", but "use"?
IMHO, the proper way to do this is to extract the common pieces that both
scripts need and build a proper module, so your symbols get imported
properly into your script. All your maintenance is done through the
module, rather than in your scripts.
See 'perldoc perlmod' for details on this.
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
The best thing about growing older is that it takes such a long time.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]