you can solve in your script:

#!/usr/bin/perl
use lib '/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi';
use Fcntl;
.........................................

or setting the environmental variable PERL5LIB.

Remo


On Apr 28, 2004, at 2:19 PM, Mauro wrote:


Hi all, I'm tring to load a module with:

use Fcntl;

but I get an error like:

Can't locate Fcntl.pm in @INC (@INC contains: /opt/perl5/lib/5.00502/PA-RISC1.1 /opt/perl5/lib/5.00502 /opt/perl5/lib/site_perl/5.005/PA-RISC1.1 /opt/perl5/lib/site_perl/5.005 .) at ./sparse_file line 3.
BEGIN failed--compilation aborted at ./sparse_file line 3.


how can I fix this error telling perl to search in corretc path (that is /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/Fcntl.pm)?

Thank You


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to