The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 07-01-2009
Andrewkl Andrewkl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 14
Perl script: use statements and system glitch

hi,

i have a perl script that runs as a cron job... Once in a while, the perl
script fails with:

Can't locate <module>.pm in @INC (@INC contains: .............)

because one of the perl modules specified in the "use" statements is
unavailable due to an NFS glitch.

Is there some code/logic i can put into my perl script to try to "use"
the module again in the event of an NFS glitch? Please provide an example.

Thanks
--Andrew

Last edited by Andrewkl; 07-01-2009 at 02:32 AM.. Reason: change title