download Modules from CPAN and then load into Perl Question
From: Chad (c-paul_at_netexpress.net)
Date: 10/15/04
- Next message: ___cliff rayman___: "Re: use DBI - how to properly get the data out"
- Previous message: Zhiliang Hu: "use DBI - how to properly get the data out"
- Next in thread: Bill Karwin: "Re: download Modules from CPAN and then load into Perl Question"
- Reply: Bill Karwin: "Re: download Modules from CPAN and then load into Perl Question"
- Reply: Jim Keenan: "Re: download Modules from CPAN and then load into Perl Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 15 Oct 2004 14:07:36 -0500
Hello,
I am still in the first week or 2 of trying to learn Perl and get my
servers patched to what I need. I have a question about the Perl modules.
DO all Perl *.pm files require you to compile or can some be just
downloaded and placed into the proper directory?
The Red Hat 7.3 server directory (upgrading Linux is not an
option at this time)
/usr/lib/perl5/5.6.1/
has tons of *.pl and *.pm files.
I downloaded from CPAN via the web page the source files for HTML::Template
, Mail::Sender , HTML::Template::Set and HTML::Embperl
The files are Embperl.pm , Sender.pm , Set.pm , Template.pm
Can I just copy these files over to the
/usr/lib/perl5/5.6.1/ directory and use them? Assuming
all extra needed pm files are there?
That is just my guess. I have tried to download some of these via CPAN
utility and it either does not find these or I do not have it typed in fully
correct. I have downloaded some items and CPAN compiled and installed them
fine. I have downloaded the Template.pm file and tried doing the make
commands and it did not work.
How do you know if a *.pm needs to be compiled with the make file command
or not? I read in one post or readme file that said something like if you
do not see a .c or .h file it does not need to be compiled.
My first thoughts on how the files in the directory look and how they look
when I download them to my computer, they appear to look the same
filename.pl or filename.pm
Sorry I am so new to all this.
Chad
- Next message: ___cliff rayman___: "Re: use DBI - how to properly get the data out"
- Previous message: Zhiliang Hu: "use DBI - how to properly get the data out"
- Next in thread: Bill Karwin: "Re: download Modules from CPAN and then load into Perl Question"
- Reply: Bill Karwin: "Re: download Modules from CPAN and then load into Perl Question"
- Reply: Jim Keenan: "Re: download Modules from CPAN and then load into Perl Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|