Hi Monks,
I was using activeperl 5.6.1 for a long time, when I decided to try new strawberry perl 5.8.9, I faced a strange issue.
I installed strawberry perl in its default location C:\strawberry, and put the C:\strawberry\perl\bin as the first item in the path variable, and launched a new command prompt and typed perl --version; it correctly said perl 5.8.9, but the strange thing happened when I just put "use 5.8.9;" inside the perl scripts which I had. I got the below error ..
Perl v5.8.9 required--this is only v5.6.1, stopped at xyz.pl line 2.
BEGIN failed--compilation aborted at xyz.pl line 2.
I don't want to disturb existing 5.6.1 but still try 5.8.9.
any help is greatly appreciated..
Vivek
-- 'I' am not the body, 'I' am the 'soul/consciousness', which has no beginning or no end, no attachment or no aversion, nothing to attain or lose.
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.