This might work, I have not tried it, but it might.

unshift (@INC, "/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi");
use Fcntl;


__________________

William Ampeh (x3939)
Federal Reserve Board


                                                                                       
                                           
                      "Mauro"                                                          
                                           
                      <[EMAIL PROTECTED]         To:      <[EMAIL PROTECTED]>          
                                            
                      .it>                     cc:                                     
                                           
                                               Subject: How to change @INC             
                                           
                      04/28/2004 08:19                                                 
                                           
                      AM                                                               
                                           
                      Please respond                                                   
                                           
                      to "Mauro"                                                       
                                           
                                                                                       
                                           
                                                                                       
                                           




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