How to change @INC

From: Mauro (mauog_at_interfree.it)
Date: 04/28/04

  • Next message: Remo Sanges: "Re: How to change @INC"
    To: <beginners@perl.org>
    Date: Wed, 28 Apr 2004 14:19:50 +0200
    
    

    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


  • Next message: Remo Sanges: "Re: How to change @INC"