A very common way is to do this (on Unix):

1) unzip and extract the tarfile
2) perl Makefile.PL
3) make
4) make test 
if everything turns out ok...

5) 'make install'




Alternatively, you can use the CPAN module:

perl -MCPAN -eshell

then, after you configure it (if it's your first time using it), just tell the thing
to install whatever you want. Very easy.

CPAN> install XML::Simple (just as an example)


The nice thing about this method is that it will take care  of dependencies for you.
If you notice it trying to install perl for you, just hit Ctl-C and it'll stop and
continue on with what you've asked it to do.


For Windows, use the ppm. Just type in 'ppm' at a dos prompt and it'll behave in a
similar fashion as the CPAN module above.

Matt

--- yun yun <[EMAIL PROTECTED]> wrote:
> I've downloaded some modules from cpan, but how I
> should install them so that I could use them in my
> perl program?
> 
> _________________________________________________________
> Do You Yahoo!? 登录免费雅虎电邮! http://mail.yahoo.com.cn
> 
> <font color=#6666FF>无聊?郁闷?高兴?没理由?都来聊天吧!</font>—— 
> 雅虎全新聊天室! http://cn.chat.yahoo.com/c/roomlist.html
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to