seems that there is another Perl installation on the system

it all depends how you "installed" the Strawberry. Because you used the PDL, which only comes in the portable/zip version, if you want to be using that version, you need to run its portableshell.bat to set up the environment correctly.

you can use the cmd.exe where perl command to find every instance of perl in your path; the first it lists is the first it runs across (and thus the one that will be executed). Without running portableshell.bat, I am assuming you will see that older v5.12.3 path, wherever that is, as the only result. While running portableshell.bat, I would hope you would see the Strawberry PDL v5.30.1 as the first perl.exe in the path (and maybe see the older v5.12.3 second). To install a module in the PDL edition, you would need to be inside the portableshell.bat when running cpanm Algorithm::SVM or any other perl-related commands.

You might also want to look into whether you really need the old v5.12.3 -- it depends on how/where it was installed, and whether it was another app that installed it, or just a previous standalone installation of perl. If you really do need multiple instances of perl available on Windows, and it's not caused by some other app installing a perl interpreter for its own needs (which then normally shouldn't have been put in your path), I highly recommend grabbing a copy of berrybrew, which helps manage multiple perls on the same system; the newest version that stevieb has released even allows switching between the default strawberry perls that berrybrew has already handled and "foreign" perls that you have installed elsewhere (either before or after installing berrybrew -- where "foreign" could be non-berrybrew-installed strawberries, or other perl distributions), though I haven't tried that feature yet.


In reply to Re: Unable to build and test Algorithm::SVM module on Windows 10 with Perl v.5.30.1 by pryrt
in thread Unable to build and test Algorithm::SVM module on Windows 10 with Perl v.5.30.1 by zubenel0

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.