I'm a beginner at installing Perl. We moved to a new server over the weekend. I've decided to stick to 32 bit version of Perl since 64 bit was giving me issues with ASP scripts.
The only 32 bit my IT Admin had was 5.8.6. That's what I had him install. My OS is Windows Server 2019
Everything works okay except one script that has use Time::Piece. It gives me an error
Can't locate Time/Piece.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at format_schwabfile_manual.pl line 7
So I try to install it via ppm
C:\>ppm install time::Piece
Error: No valid repositories:
Error: 404 Not Found
Error: 404 Not Found
Tried
cpan> install Time::Piece But that didn't work either. It was not able to connect to any of my URLS.
So I manually download Time-Piece-1.33.tar.gz from CPAN.
Now that I have the tar file, how do I manually install it?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.