Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Installing perl modules on remote server

by caedes (Pilgrim)
on Dec 09, 2003 at 18:47 UTC ( [id://313481]=note: print w/replies, xml ) Need Help??


in reply to Installing perl modules on remote server

I'm surprised no one has voted for
perl -MCPAN -e shell
I don't think this will work on a windows machine though.

-caedes

Replies are listed 'Best First'.
Re: Re: Installing perl modules on remote server
by flyingmoose (Priest) on Dec 09, 2003 at 21:54 UTC

    CPAN.pm does in fact work in Windows. It seems to me that CPAN.pm will successfully figure out how to open up and install most (if not all) pure perl packages on Win32.

    For modules that have compilable pieces, however, you will need Visual C++ and the appropriate INCLUDE, LIB, and PATH set up.

    Since ActiveState's ppm repository is a little stale, this is a very good way to get modules if you already have a copy of Visual C++. I wish CPAN modules were more compatible with MinGW instead though -- at least that is free :)

      Well, that is all fine and good but the command given above does not do anything for me on either linux (perl 5.8.0) or win32 (perl 5.6.1 active state build 631). All I get is the command prompt back.

      See (win32):

      C:\Data\Scripts>perl -mCPAN -e "shell" C:\Data\Scripts>perl -mCPAN -e "shell" C:\Data\Scripts>

      Ed

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 22:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found