http://qs321.pair.com?node_id=11149549


in reply to Re^4: Unable to install Tk module for Strawberry Perl (updated)
in thread Unable to install Tk module for Strawberry Perl

Hello LanX,

> But still, I can see the remains of an old installation can also sabotage the usage of a new Portable Strawberry.

..mmh this line in portableshell.bat should be enough to play it nicely, no?

set PATH=%~dp0perl\site\bin;%~dp0perl\bin;%~dp0c\bin;%PATH%

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^6: Unable to install Tk module for Strawberry Perl
by LanX (Saint) on Jan 12, 2023 at 15:48 UTC
    First of all, the old %PATH% could be searched for pl and bat scripts like cpanm.

    ENV-Variables like PERL5LIB etc could point elsewhere.

    .cpan/ in your HOME-dir could cache wrong info.

    When double clicking a .pl in the explorer or even typing it in CMD could execute them with the wrong association.

    etc...

    Cheers Rolf
    (addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
    Wikisyntax for the Monastery