Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Strawberry CPAN

by LloydRice (Beadle)
on Dec 03, 2016 at 20:17 UTC ( [id://1177133]=perlquestion: print w/replies, xml ) Need Help??

LloydRice has asked for the wisdom of the Perl Monks concerning the following question:

What's the best way to load CPAN modules with Strawberry. I tried cpan console Things looked OK for a while, then it said Cannot install conosole, don't know what it is From there, things went downhill. Is there a better way?

Replies are listed 'Best First'.
Re: Strawberry CPAN
by CountZero (Bishop) on Dec 03, 2016 at 20:25 UTC
    Why don't you try cpan Module::Name::Here?

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics
      That did it. Thanks.
Re: Strawberry CPAN
by Athanasius (Archbishop) on Dec 04, 2016 at 03:36 UTC

    Hello LloydRice,

    I guess it’s a matter of taste, but in most cases I find it’s easier to use cpanm:

    >cpanm Win32::Console

    If things go wrong (e.g., a test fails), you can get the build details in the file build.log, which you’ll find in the newest directory under (say) ...\strawberry-perl-5.22.1.1-64bit-PDL\data\.cpanm\work\.

    Note that cpanm is part of the App::cpanminus distribution, which is packaged as part of the Strawberry releases.

    Hope that helps,

    Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Re: Strawberry CPAN
by Laurent_R (Canon) on Dec 03, 2016 at 21:44 UTC
    I am not aware that any CPAN module is named console. If you want to use something like Win32::Console, then use the fully qualified name.
Re: Strawberry CPAN
by kcott (Archbishop) on Dec 04, 2016 at 02:35 UTC

    G'day LloydRice,

    I see you have an answer to your immediate problem. For future reference, see the cpan documentation (it's one of the built-in Utilities).

    — Ken

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-26 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found