Please bottom post... > 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
Uh, better be very very careful with this. The Perl versions are different which is why it isn't finding the module in the normal 5.6.1 version directories, and I suspect in this case they are not binary compatible, which could be important to Fcntl. One also seems to be thread enabled and the other not. OP, I would suggest installing the Fcntl module (which I thought would have come with it) using the 5.00502 version of Perl or switching to the 5.6.1 for your script. If you choose not to do this you better test the hell out of the script. http://danconia.org > > > 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>