Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: RFC: A guide to installing modules for Win32 (2022 Edition) -- cpanm

by Discipulus (Abbot)
on Jul 26, 2022 at 10:05 UTC ( #11145738=note: print w/replies, xml ) Need Help??


in reply to RFC: A guide to installing modules for Win32 (2022 Edition)

Hello again pryrt,

I forgot to mention my opinion about cpanm already presented in Re: Should cpanminus be part of the standard Perl release? -- MSWin32: something is changed and now is able to test succesfully Text::Xslate but other issue are still there and so I do not suggest it for win32 users. Mainly do not handling path correctly in 2022 is... strange :)

---------------------------------------------- Welcome to Strawberry Perl Portable Edition! Perl version : 5.32.0 / MSWin32-x64-multi-thread C:> cpanm --version cpanm (App::cpanminus) version 1.7044 (C:\EX_D\ulisseDUE\perl5.32.64bi +t\perl\bin/cpanm) <--------- O_O \ \ \ /? C:> cpanm --self-upgrade + Can't find Unicode property definition "e" in regex; marked by <-- HER +E in m/^C:\EX_D\ulisseDUE\pe <-- HERE rl5.32.64bit\perl\site\bin/ at +C:\EX_D\ulisseDUE\perl5.32.64bit\perl\bin/cpanm line 32. + ^---- O_O ?!?! C:> cpanm --test-only Text::Xslate ... Successfully tested Text-Xslate-v3.5.9

Unfortunately the will to ignore win32 as a big market share seems to persist in the habits of some, even genial, dev which anyway deserve my deep respect.

If in you I'd remove completely any mention to cpanm for win32 users

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^2: RFC: A guide to installing modules for Win32 (2022 Edition) -- cpanm
by Corion (Patriarch) on Jul 26, 2022 at 10:34 UTC

    cpanm works for me on Windows, but it's weird that your Perl / cpanm mixes the path separators. The rest is an unfortunate consequence of that.

    I'll look at whether cpanm --self-upgrade tries stuff that normal operation does not.

Re^2: RFC: A guide to installing modules for Win32 (2022 Edition) -- cpanm
by pryrt (Abbot) on Jul 26, 2022 at 14:38 UTC
    If in you I'd remove completely any mention to cpanm for win32 users

    Odd, I rarely have troubles when using cpanm on win32 (in fact, it's the only CPAN client I use on Windows). But it is true that I never bother to cpanm --self-upgrade : I cannot think of a time since 5.010 where I really thought "I need to upgrade my cpanm client". Maybe I'm the exception in that regard.

    And I see the mixed matchsticks, too, but it hasn't seemed to bother cpanm for me:

    C:\> where cpanm c:\usr\local\apps\berrybrew\perls\system\perl\bin\cpanm c:\usr\local\apps\berrybrew\perls\system\perl\bin\cpanm.bat C:\> cpanm --version cpanm (App::cpanminus) version 1.7044 (c:\usr\local\apps\berrybrew\per +ls\system\perl\bin/cpanm) perl version 5.030000 (c:\usr\local\apps\berrybrew\perls\system\perl\b +in\perl.exe) ... C:\> c:\usr\local\apps\berrybrew\perls\system\perl\bin/cpanm --version cpanm (App::cpanminus) version 1.7044 (c:\usr\local\apps\berrybrew\per +ls\system\perl\bin/cpanm) perl version 5.030000 (c:\usr\local\apps\berrybrew\perls\system\perl\b +in\perl.exe) ...
    (in fact, as shown, it doesn't bother cmd.exe, either)
Re^2: RFC: A guide to installing modules for Win32 (2022 Edition) -- cpanm
by Anonymous Monk on Jul 26, 2022 at 12:57 UTC

    but other issue are still there and so I do not suggest it for win32 users. Mainly do not handling path correctly in 2022 is... strange :)

    been using it since it came out on win32

    its not perfect, but its more perfect than cpan/cpanp . and for longer too (weird but true)

    heh site:perlmonks.org fix old bugs don't just complain

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2022-11-29 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?