<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:10pt"><div><br></div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><b><span style="font-weight: bold;">From:</span></b> JJ Merelo &lt;jjmerelo@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Lista de correo de Madrid Perl Mongers &lt;madrid-pm@pm.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Wed, December 30, 2009 1:45:23 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Madrid-pm] Problemas con la instalación de módulos en un hosting (Bluehost)<br></font><br>
<meta http-equiv="x-dns-prefetch-control" content="off"><br>El problema no es tanto a la hora de usarlo, sino de instalarlo. Al final lo he ido solucionando llamando en vez de cpan directamente, perl -I dir -I otrodir -MCPAN -e 'install xxx:yyy', el problema es que aún así muchos no funcionan, porque no consideran los directorios incluidos a la hora de testear.<br>
<br></div></div></blockquote>eh, pero si para eso precisamente es para lo que vale local::lib... <br><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 10pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br></div></div>Otro modulo que puede resultarte util es lib::glob que permite añadir directorios a @INC usando wildcards, por ejemplo...<br><br>&nbsp; $ perl -Mlib::glob='/foo/bar/*/lib' foo.pl<br><br><br><br>- Salva<br><!-- cg8.c2.mail.ac4.yahoo.com compressed/chunked Fri Dec 25 08:35:33 PST 2009 -->
</div></body></html>