Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

installing perl modules from cmd prompt in windows

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

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

cool monks,

I was going through Re^3: SCP connection. I just used the command given there as follows :-

C:\\Perl>perl -MCPAN -e 'shell' install Net::SCP C:\\Perl>perl -MCPAN -e 'shell' install Blah::Blah::Blah
I did not get any message after executing that. is there something wrong in the statement which I executed ?

Generally I use ppm to install perl modules in windows. In curiosity I tried the above commands.

Update:use both the commmands literally.

"Keep pouring your ideas"

Replies are listed 'Best First'.
Re: installing perl modules from cmd prompt in windows
by ikegami (Pope) 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
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? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2019-10-21 22:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?