Hi everyone,
I'm actually working on a Windows 2012 R2 Server.
I just got this one and would like to run Perl scripts for different tasks.
So I installed the latest version of Strawberry.
Except, the first problems happen when I run a perl script:
PS E:\data\Perl\script> perl .\event_batch_lbp2.pl
Can't locate strict.pm in @INC (@INC contains: .) at .\event_batch_lbp
+2.pl line 2.
BEGIN failed--compilation aborted at .\event_batch_lbp2.pl line 2.
I checked the path system, and appears the line for Strawberry: C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin
I can not understand this KO, strawberry seems to install well. No problem on one of my other windows.
Do you have an idea?
Here's the result of a perl -v:
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2001, Larry Wall
Binary build 631 provided by ActiveState Tool Corp. http://www.ActiveS
+tate.com
Built 17:16:22 Jan 2 2002
and perl -V:
Can't locate Config.pm in @INC (@INC contains: .).
BEGIN failed--compilation aborted.
Thanks for your help, i'm really lost right now...
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.