Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

installing perl modules from cmd prompt in windows

by jesuashok (Curate)
on Sep 21, 2006 at 02:46 UTC ( [id://574034]=perlquestion: print w/replies, xml ) Need Help??

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

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: installing perl modules from cmd prompt in windows
by ikegami (Patriarch) on Sep 21, 2006 at 02:48 UTC
    In unix, no message means no error. Can you now use the module? If so, nothing's wrong.
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: installing perl modules from cmd prompt in windows
by Anonymous Monk on Sep 21, 2006 at 08:40 UTC
    A Guide to Installing Modules, perlrun

    C:\>perl -MO=Deparse -MCPAN -e 'shell' use CPAN; '???'; -e syntax OK C:\>perl -MO=Deparse -MCPAN -e shell use CPAN; shell(); -e syntax OK C:\>perl -MO=Deparse -MCPAN -e "shell" use CPAN; shell(); -e syntax OK C:\>
Re: installing perl modules from cmd prompt in windows
by randyk (Parson) on Sep 21, 2006 at 15:04 UTC
    Try
    C:\>perl -MCPAN -e "shell install File::Which" CPAN: Storable loaded ok Going to read C:\Perl\cpan\Metadata Database was generated on Wed, 20 Sep 2006 09:40:02 GMT File::Which is up to date. cpan shell -- CPAN exploration and modules installation (v1.7602) ReadLine support enabled cpan> quit Lockfile removed. C:\>
Re: installing perl modules from cmd prompt in windows
by jfluhmann (Scribe) on Sep 21, 2006 at 19:00 UTC

    Anytime I've installed modules on a Win32 system (not using PPM), I've done the following:

    perl -MCPAN -e"install Blah::Blah"
    or open a shell session via:
    perl -MCPAN -eshell

    Installing via CPAN on a Win32 system works great if you're using Strawberry Perl. You can get a copy from http://vanillaperl.com/. You can also read about it at the win32.perl.org wiki.

Log In?
Username:
Password:

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

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

    No recent polls found