Hi,,

On 2007/04/02, at 20:32, Nigel Peck wrote:


Hi,

I've recently starting writing my own modules. At the top of each script that uses my modules I do:

use lib qw( /home/nigel/mis_perl_modules/dev );

while I'm developing them and then change it to:

use lib qw( /home/nigel/mis_perl_modules/live );

once the modules are in live use.

My question is, is this the best way to go about having modules in development?


I prefer to use the PERL5LIB environment variable, for example:

$ PERL5LIB=/home/nigel/mis_perl_modules/dev perl my-program.pl

Then you can just install that on usual Perl include path when done.

--
Igor Sutton
[EMAIL PROTECTED]



Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to