Hi,

I'm working in a project and i want include a directory (my modules) to perl's 
search path. 


I have this structure:

/usr/local/project
/usr/local/project/packages

Then i create a index.cgi on root folder with the theses lines:

#!/usr/bin/perl

use strict;
use Cwd;

use lib getcwd."/packages";
use setup;

print ola();


The problem that i see here is that i always need insert the lines :

 use lib getcwd."/packages";
 use setup;

on each source files. 

Have a best solution for it? Maybe make a symbol link on /usr/lib/perl/5.8. But 
i don't link of this solution. 

any idea?


ps.: Sorry for my english

Thanks for all

                
---------------------------------
 ____________________________________________________ 
---------------------------------
Yahoo! Messenger com voz - Instale agora e faça ligações de graça. 

Reply via email to