possibly this was a recent change?

Relatively recent. The main change was this one in Perl 5.26.0, released in May of 2017, with some preliminary changes (these) in 5.24.1, released in January of 2017.

There are many .pl scripts and I'd rather avoid having to manually change them all. Is there a way I can go to accomplish that?

What change are you talking about - the include path? One way to add paths to @INC globally is by setting the PERL5LIB environment variable (taking care not to clobber its contents if it's already set).

I'm only going to use this local site to test new code or other things before I implement them on the unix site.

I've worked with Perl on both Windows and *NIX for many years, and let me just say that things are different on both OSes - not necessarily better or worse, but certainly different. Sure, getting Perl code to run on both is possible, but in this situation, it sounds like you've got a test/development server, which you want to set up on Windows, and a production server, which is *NIX. I do have to say that I think you'd be much happier if your test/dev system was *NIX as well, as things will mesh so much better that way - no fiddling with file permissions every time you sync the two, no differences in paths between the two, and so on. You might want to consider setting up a Linux virtual machine on your Windows system...


In reply to Re^7: Sorry.. Same problem but some progress! by haukex
in thread Sorry.. Same problem but some progress! by traincity

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.