> -----Original Message-----
> From: Sean LeBlanc [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 07, 2006 7:16 AM
> Subject: Problems with scheduled Perl script
>
> I've also found that other imports seem to have it
> quietly fail, too. For example, use Date::Manip qw(ParseDate
> UnixDate);

Perhaps the environment variable that is set for the perl libraries on your
log in is not set when the script is automatically launched.  I think it's
PERLLIB but don't take that as definite, check the manual.

Try checking what your local variable is set to and add that to the
beginning of the script like this:

use lib "/perl/lib";

That might help it find those libraries. Alternatively you can check this
thread archive to see how to test if a module exists and add that to your
script. A failure with an error message might help you debug it more.

-Wayne

-- 
CAM Automation Programmer
Unicircuit Inc.
Littleton, Colorado
303-738-5390

-- Warning Corporate Disclaimer to follow this line. --

This electronic mail transmission and any attachments contain information
belonging to the sender which may be confidential, privileged and exempt
from disclosure under applicable law.  This information is intended only for
the use of the individual or entity to whom this electronic mail
transmission is addressed.  If you are not the intended recipient or the
employee or agent responsible for delivering the message to the intended
recipient, you are hereby notified that any disclosure, copying,
distribution, or action taken or not taken in reliance on the contents of
the information contained in this transmission is strictly prohibited.  If
you have received this transmission in error, please immediately inform me
by "reply" e-mail and delete the message in its entirety.  Thank you.
Unicircuit, Inc.


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to