Newbie on using Modules
am 02.06.2006 18:28:58 von JAC
I've been programming in Perl for a while, but I'm just starting to use
(or try to use) the modules from CPAN. I'm having difficulty
understanding a couple things:
1) How do I display the installed modules on UNIX
2) Is it possible to get a module that requires no "C"
compilation?
3) How do I use CPAN.pm?
I could use some "pointing" in the right directions.
thanks
Jac
Re: Newbie on using Modules
am 02.06.2006 19:08:23 von nobull67
Jac wrote:
> I've been programming in Perl for a while, but I'm just starting to use
> (or try to use) the modules from CPAN. I'm having difficulty
> understanding a couple things:
> 1) How do I display the installed modules on UNIX
See FAQ: "How do I find which modules are installed on my system?"
BTW: the purpose of a FAQ is not just to passively list the questions
that are frequently asked. People are then encouraged, when they have a
question, to look in the FAQ to see if it Frequently Asked.
> 2) Is it possible to get a module that requires no "C"
> compilation?
Yes. Indeed most modules require no C compilation.
On the other hand if you are really asking if it's possible to get a
precompiled version of a module that does need C complation then that
is possible for some platforms. Note that when you get a precompiled
module you need to get it for the right OS, processor architecture, C
compiler and maybe even C RTL.
However if you want precompiled Perl modules you probably got a
precompiled Perl and the place where you got that will probably have
many precompiled modules. As far as I know you need to use a different
package manager like RPM or PPM.
> 3) How do I use CPAN.pm?
That's rather vauge. Could you be more precide about what part of the
documentation are you finding difficulty understanding?
http://perldoc.perl.org/CPAN.html
Re: Newbie on using Modules
am 02.06.2006 22:32:22 von mumia.w.18.spam+nospam.usenet
Jac wrote:
> I've been programming in Perl for a while, but I'm just starting to use
> (or try to use) the modules from CPAN. I'm having difficulty
> understanding a couple things:
> 1) How do I display the installed modules on UNIX
perldoc -q installed
> 2) Is it possible to get a module that requires no "C"
> compilation?
> 3) How do I use CPAN.pm?
perldoc CPAN
> I could use some "pointing" in the right directions.
> thanks
> Jac
>
You're welcome.