问题描述
大家好,
只是想找出一些关于cpan模块的东西''我还不确定它们是什么关于
对......嗯..首先
i在命令提示符下键入ppm就好了
和ppm 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
这篇关于澄清cpan模块的事实的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!