Solved

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

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
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…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

810 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