Solved

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

Posted on 2002-06-06
3
1,076 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

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 …
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
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…
Six Sigma Control Plans

726 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