Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

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


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

Hello pryrt and ++ my friend for this updated tutorial!

just some minor things from my part.. In the Strawberry Perl section I'd invert the paragraph position: first the plain simple way using cpan client, then the make method that I consider less frequently used and more hackish. Users used to windows rarely understand making things and also installing something in the command line is considered a dangerous journey.

Also some cpan frequently used interactive commands, in a pseudo session, as example can be a benefit for win32 users. For example:

cpan> # to install Some::Module just type: cpan> install Some::Module # to see if there are updates for a module use 'r' cpan> r DBI ... Package namespace installed latest in CPAN file DBI 1.637 1.643 TIMB/DBI-1.643.tar.gz # to upgrade some module to the latest version use 'upgrade' cpan> upgrade DBI

I dont know if it is worth to mention that Strawberry puts its own mirror as first one in the cpan configuration:

cpan> o conf urllist urllist 0 [http://cpan.strawberryperl.com/] 1 [http://www.cpan.org/]

..and for it I hit: LWP failed with code[500] message[Can't connect to cpan.strawberryperl.com:443]

Minor editing nitpick: it seems you are using the wikisyntax for the monastery: if so after the single quote you cannot have any char: 'cpan -i Some::Module'. does not work, you need good old tags if you want the dot: <c>cpan -i Some::Module.</c>

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)
by pryrt (Abbot) on Jul 26, 2022 at 14:27 UTC
    Part of me wanted to keep the order with the "traditional recipe" first, because that's the order presented in the original A Guide to Installing Modules. But since I agree that using cpan or alternative clients is preferred, I followed your advice and changed the order.

    For the cpan configuration and usage suggestions: are those really Win32-useful enough that they belong here? Or are they just generically useful? Do others think that this tutorial should include that suggested extra detail about the CPAN shell? or even more than that? What about extra hints for the other clients?

    Wiki syntax: I often forget to put that space after the end-single-quote. I had actually noticed that on another instance, and thought I had converted all of my wiki syntax to plain Perl Monks Approved HTML tags, but I missed those. Thanks

Log In?
Username:
Password:

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

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