> -----Original Message-----
> From: Kingsbury, Michael [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 05, 2002 11:31 AM
> To: '[EMAIL PROTECTED]'
> Subject: use lib question
> 
> 
> I want to have two different variable for use lib depending 
> on a cmd line
> switch (one for the production libraries, one for development 
> libraries).
> They exist in different directories.  It appears that it uses 
> the use lib at
> compilation time, rendering an if statement useless.  Anyone 
> have a slick
> way of doing this?

You can also set the PERL5LIB environment variable to point to the
proper libraries. (See the caveats in perldoc perlrun).

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

Reply via email to