Thanks to you and the other people for the answer.
Unfortunatly I don't have Internet-like programs
installed (as lynx, wget, ncftpget, ncftp, etc) in my
cygwing, so I can't use the -MCPAN or just de command
cpan. I don't intend to install those programs to
avoid my cygwin get bigger.
I can download the modules from CPAN using the
Internet program from Windows and save them in the
hard disk.
The correct question would be this:
Can I install the modules manually?
If yes, How, and what must I have in consideration?
--- Jason Pearce <jason.pearce@ieee.org> escribió:
Yes, use the CPAN module as Brian suggests. Just
make sure environment
variable PERLIO is unset when using -MCPAN,
otherwise it will fail. (You
might set this to CRLF for DOS compatibility
purposes).
Also be aware that you may have trouble building
some modules that use C
code and have not been ported to Cygwin, mainly OS
modules like WIN32.
Straight Perl modules should just work out of the
box, and CPAN will get
all pre-requisites for you too. You'll never want
ppm again!
Regards,
Jason
Brian Dessent wrote:
Manuel Tejada wrote:
Somebody can tell me from what URL I must to
download
a perl module and how to install it in Cygwing?
You use CPAN. "perl -MCPAN -e 'install Foo::Bar'"
or "perl -MCPAN -e
shell". There is no URL to know, it takes care of
all of that.
http://cpan.org/misc/cpan-faq.html
In pure Windows is easy is you have Perl from
ActiveState but Perl installed in Cygwin doesnt
have
the ppm Manager.
To me (and perhaps others) that's a feature and not
a bug. I can't
stand that ppm junk.
Brian
--
Unsubscribe info:
http://cygwin.com/ml/#unsubscribe-simple
Problem reports:
http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
Manuel TEJADA M.
_________________________________________________________
Do You Yahoo!?
La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx