Solved

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

Posted on 2002-06-06
3
1,052 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
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…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now