Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Unable to install Tk module for Strawberry Perl

by pryrt (Abbot)
on Jan 10, 2023 at 14:52 UTC ( [id://11149493]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Unable to install Tk module for Strawberry Perl
in thread Unable to install Tk module for Strawberry Perl

I would guess that the "typical" Windows user of Perl would prefer the MSI version because it will automatically associate .pl files with perl.exe thereby allowing them to double-click the script to run it. (And sadly, many Windows users, probably even many who have enough skills to write a simple script in perl, or at least copy/paste it, wouldn't know how to do manual associations in Windows without an MSI or installer-exe to do it for them.)

Personally, I use one of the PDL-portable copies of Strawberry with manual file associations, because I like the double-click, but I really want all those extra math libraries that come in that bundle that aren't in the normal MSI or portable Strawberries.

"poke the bear"

I'd much rather that they keep their focus on figuring out how to build newer versions of perl, so that we could get strawberry versions of 5.34 and 5.36. (Commit messages from November seem to indicate they are at least working on 5.34, but it seems to have paused again.)

Replies are listed 'Best First'.
Re^4: Unable to install Tk module for Strawberry Perl
by syphilis (Archbishop) on Jan 11, 2023 at 13:27 UTC
    I would guess that the "typical" Windows user of Perl would prefer the MSI version because ...

    Yeah, but they're giving an unqualified recommendation for all users.
    It's not the right recommendation for me, and it's apparently not the right recommendation for you.

    I'd much rather that they keep their focus on figuring out how to build newer versions of perl, so that we could get strawberry versions of 5.34 and 5.36.

    Sure, that's their important job ... but I don't see that getting the "recommendation" right is going to impact heavily on their capacity to get that job done.

    Cheers,
    Rob
Re^4: Unable to install Tk module for Strawberry Perl (updated)
by LanX (Saint) on Jan 11, 2023 at 13:56 UTC
    I wouldn't be surprised if MSI also involved some Registry-Settings.

    I'm also fond of the Portable Edition and hope newer Perl Versions will be supported soon.

    StevieB's BerryBrew is also worth mentioning here.

    update

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

    One still needs to purge old remains, the advantage of a portable version is that there are none if it's the old version.

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

      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.
        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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11149493]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-25 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found