Solved

Can't locate Time/Local.pm  in version Perl 5.005_02 .

Posted on 2002-06-06
3
1,061 Views
Last Modified: 2011-04-14
The version of perl i am using is
This is perl, version 5.005_02 built for MSWin32-x86-object
Binary build 502 provided by ActiveState Tool Corp. http://www.ActiveState.com
Built 10:59:41 Aug 11 1998

When i try to run my perl script i get an error
Can't locate Time/Local.pm in @INC (@INC contains:



0
Comment
Question by:shys_s
3 Comments
 
LVL 10

Accepted Solution

by:
rj2 earned 100 total points
ID: 7063803
If you get an error in a script you should always post the script with your question. You should also explain what you want your script to do. This would help the exports to give you a correct answer.

However, since your Perl version is so old, you could try to download and install a newer version of Perl.

http://www.activestate.com/Products/ActivePerl/
0
 

Expert Comment

by:rrbf
ID: 7069911
perl is also included in cygwin.
it's perl 5.6.1 or more recent. very compatible with
most cpan modules and no @INC error.
http://www.cygwin.com/
0
 
LVL 8

Expert Comment

by:inq123
ID: 9512493
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept a comment rj2 (it's not a direct answer but it should lead to installation of Time/local which should solve the problem unless user forgot to add "use Time::Local;")

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

inq123
EE Cleanup Volunteer
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question