Hi Rob -

> -----Original Message-----
> From: Rob Dixon [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 1:20 AM
> To: [EMAIL PROTECTED]
> Subject: Re: use and require
> 
> 
> Beau E. Cox wrote:
> > Hi -
> >
> > I thought I had a grip on this, but...
> > ...
> > need it? Will I get multiple copies if I do that? From a
> > lazy programmer's viewpoint, saying 'use' is the way to go...
> >
> > Can someone help enligthen me?
> 
> Hi Beau.
> 
> 'use Module' everywhere necessary is exactly what you should do.
> 
> 'require Module' essentially does 'do "Module.pm"', but only if the
> file has not already been included.
> 
> 'use Module' operates at compile time. It does 'require Module'
> and then calls Module::import to fetch the identifiers that
> Module exports.
> 
> HTH,
> 
> Rob

GOOD! That makes my life easier - thanks.

Aloha => Beau.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to