澄清cpan模块的事实 [英] clarifying facts on cpan modules

查看:60
本文介绍了澄清cpan模块的事实的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


只是想找出一些关于cpan模块的东西''我还不确定它们是什么关于


对......嗯..首先

i在命令提示符下键入ppm就好了


和pp​​m GUI打开了我看到一大块模块

所以它是否意味着已经安装了看到的模块?

hi guys,

just wanted to find out something about cpan modules ''cos i''m still not sure what they are all about

right...hm..first of all
i did something like typing ppm on the command prompt

and a ppm GUI opens up and i see a chunk of modules
so does it mean the modules that are seen are already installed?

推荐答案


嗨伙计们,


只是想找出一些关于cpan模块的东西''我还不确定它们的全部含义


对......嗯...首先

i做了类似于在命令提示符下输入ppm的东西


和pp​​m GUI打开,我看到一大块模块

所以它是否意味着已经安装了看到的模块?
hi guys,

just wanted to find out something about cpan modules ''cos i''m still not sure what they are all about

right...hm..first of all
i did something like typing ppm on the command prompt

and a ppm GUI opens up and i see a chunk of modules
so does it mean the modules that are seen are already installed?



否,ppm是活动状态 p erl p ackage m anager" ;.这是您在系统上安装模块的方式。已经安装的模块将在那里被指定为与其他模块不同(抱歉,我不使用活动状态,所以我不能告诉你如何)。


虽然有一点建议。活动状态限制了它从CPAN移植的模块,不仅如此,很难找到您正在寻找的模块。我的推荐是你看看草莓Perl。它是Perl的另一个WIndows版本,在我看来,更好。您可以使用CPAN接口安装模块,就像其他基于Unix的Perl社区一样,而不是Active State使用的专有PPM POS(是的,POS部分是我个人的意见)。


Anywho,有关安装模块的信息,你需要阅读本文。它会让你在路上。


至于什么模块,它们是可重复使用的代码。如果您想在Perl中执行任何操作,请先检查模块。如果没有,你可能有一个想法。


问候,


杰夫


No, ppm is Active State''s "perl package manager". It is how you install modules on your system. The modules that are already installed will be designated there by being different from the rest (sorry, I don''t use Active State so I can''t tell you how).

One bit of advice though. Active State is limiting in the modules it has ported over from CPAN and not only that, it can be difficult to find the module(s) you are looking for. My recomendation is that you look at Strawberry Perl instead. It is the other WIndows version of Perl and in my opinion, MUCH better. You install modules using the CPAN interface, like the rest of the Unix based Perl community, instead of the proprietary PPM POS that Active State uses (yes, the POS part is my personal opinion).

Anywho, for information on installing modules, you will want to read this . It will get you on your way.

As for what modules are, they are bits of reusable code. If you want to do something in Perl, anything, check for a module first. If there isn''t one, you may have an idea for one.

Regards,

Jeff


是的确

activeperl是安装模块时相当复杂

u必须下载tgarz文件我认为

然后在命令提示符下键入一些命令,并且必须测试它以确保它'完全安装了


所以,如果我使用activeperl键入程序

如果我使用你称之为草莓perl的话它会起作用吗?
yeah indeed
activeperl is rather complex when installing its module
u have to download the tgarz file i think
then type some commands in the command prompt, and have to test it out to make sure it''s completely installed

so if i''ve type programs using activeperl
is it going to work if i use what u call strawberry perl?


active perl非常容易安装模块:


c:\> ppm


然后一次ppm开始:


安装模块名


问题虽然如Jeff所说,PPM存储库中可用的模块少于CPAN上的模块。


除此之外,activeperl还附带了许多草莓perl没有的附加功能,比如许多Win32模块,wperl,Tk和现在Tkx with perl 5.10。 ActivePerl提供了非常易于阅读的文档,并且很容易在activeperl文档文件夹中看到所有已安装的模块。 Activeperl有一个支持论坛,草莓perl没有任何支持。


草莓perl带有标准perl文档的html端口,但它没有很好地布局,事实上我的W​​indows计算机上是不可读的,因为它太长了。 />

Strawberryperl和activeperl的表现尽我所能。
active perl is very easy to install modules:

c:\>ppm

then once ppm starts:

install modulename

the problem though is as Jeff said, there are less modules available in PPM repositories than there are on CPAN.

Besides that, activeperl comes with lots of extras that strawberry perl does not, like many Win32 modules, wperl, Tk and now Tkx with perl 5.10. ActivePerl comes with very easy to read documentation and it''s easy to see all the installed modules in the activeperl documentation folder. Activeperl has a support forum, strawberry perl has no support of any kind.

Strawberry perl comes with an html port of the standard perl documentation but it is not well laid out, and in fact was unreadable on my Windows computer because it is so freaking long.

Strawberryperl and activeperl both performed the same as far as I could tell.


这篇关于澄清cpan模块的事实的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆