> Message du 10/10/08 17:32 > De : "Sharan Basappa" > A : "Jeff Pang" > Copie à : "Perl Beginners" > Objet : Re: add module path > > > Ok, so if I understand you correctly this is what I have to do > > 1) install module C in a/b/c directory (for example) > > 2) install module D in a/b/d directory > > 3) copy the .pm files installed under a/b/c and a/b/d to a/b/my_lib > > 4) include a/b/my_lib in perl code >
If C and D is a system installation (ie,the modules from CPAN), you just use them as normal. if you have your own modules, then put them into a/b/my_lib (or any paths you liked). After that you use lib 'a/b/my_lib' in the codes. Regards, Jeff. Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.