Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Red Hat Linux (http://www.linux-archive.org/red-hat-linux/)
-   -   Perl (http://www.linux-archive.org/red-hat-linux/34862-perl.html)

"Mad Unix" 01-11-2008 02:48 PM

Perl
 
Am looking to install the following listed Perl modules related to my qmail
/ postfix server (RHEL5 64bit
the list of Perl modules related to SpamAssassin on the systems
what would be the best way to install them?

Bundle::NetSNMP
Test::Harness
CPAN
ExtUtils::CBuilder
ExtUtils::MakeMaker
Cwd
File::Temp
List::Util
Test::Simple
Digest::SHAest::SHA
File::HomeDir
Compress::Raw::Zlib
IO::Compress::Base
IO::Compress::Zlib
Compress::Zlib
IO::Zlib
Archive::Tar
Archive::Zip
Net
Term::ReadKey
Term::ReadLine
YAML
Text::Glob
File::Which
HTML::Tagsetset
HTML::Parser
LWP
Net::IP
Digest::SHA1est::SHA1
Digest::HMACest::HMAC
Net::DNS
Pod::Escapes
Pod::Simple
Test::Pod
Digest::BubbleBabbleest: :BubbleBabble
Module::Signaturenature
Time::HiRes
Parse::Syslog
Statistics::Distributions
PAR::Dist
IO::Stringyy
Net::Ident
IP::Country
Sys::Hostname::Long
Net::CIDR::Lite
Mail::SPF::Query
Mail::SpamAssassin
CDB_File


Thanks
--
madunix


--
madunix
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

"Johan Booysen" 01-11-2008 02:55 PM

Perl
 
I'm not an expert, but this works for me:

# perl -MCPAN -e shell;

Provide answers to configure...

cpan> r

Which gives you a list of Perl modules installed.

cpan> install What::Ever

Which installs whatever Perl modules you want.

-----Original Message-----
From: redhat-list-bounces@redhat.com
[mailto:redhat-list-bounces@redhat.com] On Behalf Of Mad Unix
Sent: 11 January 2008 15:49
To: General Red Hat Linux discussion list
Subject: Perl

Am looking to install the following listed Perl modules related to my
qmail
/ postfix server (RHEL5 64bit
the list of Perl modules related to SpamAssassin on the systems
what would be the best way to install them?

Bundle::NetSNMP
Test::Harness
CPAN
ExtUtils::CBuilder
ExtUtils::MakeMaker
Cwd
File::Temp
List::Util
Test::Simple
Digest::SHAest::SHA
File::HomeDir
Compress::Raw::Zlib
IO::Compress::Base
IO::Compress::Zlib
Compress::Zlib
IO::Zlib
Archive::Tar
Archive::Zip
Net
Term::ReadKey
Term::ReadLine
YAML
Text::Glob
File::Which
HTML::Tagsetset
HTML::Parser
LWP
Net::IP
Digest::SHA1est::SHA1
Digest::HMACest::HMAC
Net::DNS
Pod::Escapes
Pod::Simple
Test::Pod
Digest::BubbleBabbleest: :BubbleBabble
Module::Signaturenature
Time::HiRes
Parse::Syslog
Statistics::Distributions
PAR::Dist
IO::Stringyy
Net::Ident
IP::Country
Sys::Hostname::Long
Net::CIDR::Lite
Mail::SPF::Query
Mail::SpamAssassin
CDB_File


Thanks
--

madunix


--

madunix
--

redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

"Johan Booysen" 01-11-2008 03:00 PM

Perl
 
And

# perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)'

works reasonably well to update all installed Perl modules, so you don't
have to do lots one at a time. I've found that sometimes, though, it
skips 3 or 4 modules which you then have to do manually.

-----Original Message-----
From: redhat-list-bounces@redhat.com
[mailto:redhat-list-bounces@redhat.com] On Behalf Of Johan Booysen
Sent: 11 January 2008 15:55
To: General Red Hat Linux discussion list
Subject: RE: Perl

I'm not an expert, but this works for me:

# perl -MCPAN -e shell;

Provide answers to configure...

cpan> r

Which gives you a list of Perl modules installed.

cpan> install What::Ever

Which installs whatever Perl modules you want.

-----Original Message-----
From: redhat-list-bounces@redhat.com
[mailto:redhat-list-bounces@redhat.com] On Behalf Of Mad Unix
Sent: 11 January 2008 15:49
To: General Red Hat Linux discussion list
Subject: Perl

Am looking to install the following listed Perl modules related to my
qmail
/ postfix server (RHEL5 64bit
the list of Perl modules related to SpamAssassin on the systems
what would be the best way to install them?

Bundle::NetSNMP
Test::Harness
CPAN
ExtUtils::CBuilder
ExtUtils::MakeMaker
Cwd
File::Temp
List::Util
Test::Simple
Digest::SHAest::SHA
File::HomeDir
Compress::Raw::Zlib
IO::Compress::Base
IO::Compress::Zlib
Compress::Zlib
IO::Zlib
Archive::Tar
Archive::Zip
Net
Term::ReadKey
Term::ReadLine
YAML
Text::Glob
File::Which
HTML::Tagsetset
HTML::Parser
LWP
Net::IP
Digest::SHA1est::SHA1
Digest::HMACest::HMAC
Net::DNS
Pod::Escapes
Pod::Simple
Test::Pod
Digest::BubbleBabbleest: :BubbleBabble
Module::Signaturenature
Time::HiRes
Parse::Syslog
Statistics::Distributions
PAR::Dist
IO::Stringyy
Net::Ident
IP::Country
Sys::Hostname::Long
Net::CIDR::Lite
Mail::SPF::Query
Mail::SpamAssassin
CDB_File


Thanks
--

madunix


--

madunix
--

redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--

redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Andrew Bacchi 01-11-2008 03:01 PM

Perl
 
I agree in using CPAN to install mods. But for a long list like that, I
would research how to install it via Bundle::MyBundle.

Find the perlfaq at http://www.cpan.org

Johan Booysen wrote:

I'm not an expert, but this works for me:

# perl -MCPAN -e shell;

Provide answers to configure...

cpan> r

Which gives you a list of Perl modules installed.

cpan> install What::Ever

Which installs whatever Perl modules you want.

-----Original Message-----
From: redhat-list-bounces@redhat.com
[mailto:redhat-list-bounces@redhat.com] On Behalf Of Mad Unix
Sent: 11 January 2008 15:49
To: General Red Hat Linux discussion list
Subject: Perl

Am looking to install the following listed Perl modules related to my
qmail
/ postfix server (RHEL5 64bit
the list of Perl modules related to SpamAssassin on the systems
what would be the best way to install them?

Bundle::NetSNMP
Test::Harness
CPAN
ExtUtils::CBuilder
ExtUtils::MakeMaker
Cwd
File::Temp
List::Util
Test::Simple
Digest::SHAest::SHA
File::HomeDir
Compress::Raw::Zlib
IO::Compress::Base
IO::Compress::Zlib
Compress::Zlib
IO::Zlib
Archive::Tar
Archive::Zip
Net
Term::ReadKey
Term::ReadLine
YAML
Text::Glob
File::Which
HTML::Tagsetset
HTML::Parser
LWP
Net::IP
Digest::SHA1est::SHA1
Digest::HMACest::HMAC
Net::DNS
Pod::Escapes
Pod::Simple
Test::Pod
Digest::BubbleBabbleest: :BubbleBabble
Module::Signaturenature
Time::HiRes
Parse::Syslog
Statistics::Distributions
PAR::Dist
IO::Stringyy
Net::Ident
IP::Country
Sys::Hostname::Long
Net::CIDR::Lite
Mail::SPF::Query
Mail::SpamAssassin
CDB_File


Thanks


--
veritatis simplex oratio est
-Seneca

Andrew Bacchi
Systems Programmer
Information Technologies Infrastructure
Rensselaer Polytechnic Institute
phone: 518.276.6415 fax: 518.276.2809

http://www.rpi.edu/~bacchi/

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

01-11-2008 05:01 PM

Perl
 
>Date: Fri, 11 Jan 2008 11:01:22 -0500
>From: Andrew Bacchi <bacchi@rpi.edu>
>
>I agree in using CPAN to install mods. But for a long list like that, I
>would research how to install it via Bundle::MyBundle.
>Find the perlfaq at http://www.cpan.org
>
Another answer might be to install the topmost one, and cpan will procede to ask you "you need this, shall I prepend it to the list", and on, and on.... <g>

mark
>Johan Booysen wrote:
>> I'm not an expert, but this works for me:
>>
>> # perl -MCPAN -e shell;
>>
>> Provide answers to configure...
>>
>> cpan> r
>>
>> Which gives you a list of Perl modules installed.
>>
>> cpan> install What::Ever
>>
>> Which installs whatever Perl modules you want.
>>
>> -----Original Message-----
>> From: redhat-list-bounces@redhat.com
>> [mailto:redhat-list-bounces@redhat.com] On Behalf Of Mad Unix
>> Sent: 11 January 2008 15:49
>> To: General Red Hat Linux discussion list
>> Subject: Perl
>>
>> Am looking to install the following listed Perl modules related to my
>> qmail
>> / postfix server (RHEL5 64bit
>> the list of Perl modules related to SpamAssassin on the systems
>> what would be the best way to install them?
>>
>> Bundle::NetSNMP
>> Test::Harness
>> CPAN
>> ExtUtils::CBuilder
>> ExtUtils::MakeMaker
>> Cwd
>> File::Temp
>> List::Util
>> Test::Simple
>> Digest::SHAest::SHA
>> File::HomeDir
>> Compress::Raw::Zlib
>> IO::Compress::Base
>> IO::Compress::Zlib
>> Compress::Zlib
>> IO::Zlib
>> Archive::Tar
>> Archive::Zip
>> Net
>> Term::ReadKey
>> Term::ReadLine
>> YAML
>> Text::Glob
>> File::Which
>> HTML::Tagsetset
>> HTML::Parser
>> LWP
>> Net::IP
>> Digest::SHA1est::SHA1
>> Digest::HMACest::HMAC
>> Net::DNS
>> Pod::Escapes
>> Pod::Simple
>> Test::Pod
>> Digest::BubbleBabbleest: :BubbleBabble
>> Module::Signaturenature
>> Time::HiRes
>> Parse::Syslog
>> Statistics::Distributions
>> PAR::Dist
>> IO::Stringyy
>> Net::Ident
>> IP::Country
>> Sys::Hostname::Long
>> Net::CIDR::Lite
>> Mail::SPF::Query
>> Mail::SpamAssassin
>> CDB_File
>>
>>
>> Thanks
>
>--
>veritatis simplex oratio est
> -Seneca
>
>Andrew Bacchi
>Systems Programmer
>Information Technologies Infrastructure
>Rensselaer Polytechnic Institute
>phone: 518.276.6415 fax: 518.276.2809
>
>http://www.rpi.edu/~bacchi/
>
>--
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

07-28-2008 05:03 PM

perl
 
A quick perl question: I've got this script I found, and I'm trying to run. It required me to install XML::RSS. Now, when I try to run it, it complains
"encode_entities_numeric" is not exported by the HTML::Entities module
Can't continue after import errors at /usr/lib/perl5/site_perl/5.8.0/XML/RSS.pm line 5
So, I do what the docs say, I think, in adding a line to my script of
use HTML::Entities qw(:DEFAULT encode_entities_numeric);

and now I get just
"encode_entities_numeric" is not exported by the HTML::Entities module
as my script gags when I put that as the first use statement.

Where the blazes am I supposed to put that use statement, in the HTML::Entities? In the XML::RSS?

mark

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Andrew Bacchi 07-28-2008 06:35 PM

perl
 
There's no such thing as a quick Perl question. :)

Your declaration looks wrong to me. I don't know what the ":DEFAULT"
means in your declaration, but I don't see it in the documentation on CPAN.


Try declaring it the way the docs suggest.
__________________________________________________ ________
If you prefer not to import these routines into your namespace, you can
call them as:


use HTML::Entities ();
$decoded = HTML::Entities::decode($a);
$encoded = HTML::Entities::encode($a);
$encoded = HTML::Entities::encode_numeric($a);
__________________________________________________ ____________

Here's the link at CPAN to the usage.
http://search.cpan.org/~gaas/HTML-Parser-3.56/lib/HTML/Entities.pm



m.roth2006@rcn.com wrote:
A quick perl question: I've got this script I found, and I'm trying to run. It required me to install XML::RSS. Now, when I try to run it, it complains
"encode_entities_numeric" is not exported by the HTML::Entities module

Can't continue after import errors at /usr/lib/perl5/site_perl/5.8.0/XML/RSS.pm line 5
So, I do what the docs say, I think, in adding a line to my script of
use HTML::Entities qw(:DEFAULT encode_entities_numeric);

and now I get just
"encode_entities_numeric" is not exported by the HTML::Entities module
as my script gags when I put that as the first use statement.

Where the blazes am I supposed to put that use statement, in the HTML::Entities? In the XML::RSS?


mark



--
veritatas simplex oratio est
-Seneca

Andrew Bacchi
Systems Programmer
Rensselaer Polytechnic Institute
phone: 518.276.6415 fax: 518.276.2809

http://www.rpi.edu/~bacchi/

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Percy Barboza 07-28-2008 09:34 PM

perl
 
$ perldoc -m HTML::Entities is very helpful.
It displays source and all methods including methods that the authour has hidden from you.

Percy

> Date: Mon, 28 Jul 2008 14:35:35 -0400
> From: bacchi@rpi.edu
> To: redhat-list@redhat.com
> Subject: Re: perl
>
> There's no such thing as a quick Perl question. :)
>
> Your declaration looks wrong to me. I don't know what the ":DEFAULT"
> means in your declaration, but I don't see it in the documentation on CPAN.
>
> Try declaring it the way the docs suggest.
> __________________________________________________ ________
> If you prefer not to import these routines into your namespace, you can
> call them as:
>
> use HTML::Entities ();
> $decoded = HTML::Entities::decode($a);
> $encoded = HTML::Entities::encode($a);
> $encoded = HTML::Entities::encode_numeric($a);
> __________________________________________________ ____________
>
> Here's the link at CPAN to the usage.
> http://search.cpan.org/~gaas/HTML-Parser-3.56/lib/HTML/Entities.pm
>
>
>
> m.roth2006@rcn.com wrote:
> > A quick perl question: I've got this script I found, and I'm trying to run. It required me to install XML::RSS. Now, when I try to run it, it complains
> > "encode_entities_numeric" is not exported by the HTML::Entities module
> > Can't continue after import errors at /usr/lib/perl5/site_perl/5.8.0/XML/RSS.pm line 5
> > So, I do what the docs say, I think, in adding a line to my script of
> > use HTML::Entities qw(:DEFAULT encode_entities_numeric);
> >
> > and now I get just
> > "encode_entities_numeric" is not exported by the HTML::Entities module
> > as my script gags when I put that as the first use statement.
> >
> > Where the blazes am I supposed to put that use statement, in the HTML::Entities? In the XML::RSS?
> >
> > mark
> >
>
> --
> veritatas simplex oratio est
> -Seneca
>
> Andrew Bacchi
> Systems Programmer
> Rensselaer Polytechnic Institute
> phone: 518.276.6415 fax: 518.276.2809
>
> http://www.rpi.edu/~bacchi/
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

__________________________________________________ _______________
Searching for the best deals on travel? Visit MSN Travel.
http://msn.coxandkings.co.in/cnk/cnk.do--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

mark 07-29-2008 12:00 AM

perl
 
m.roth2006@rcn.com wrote:
> A quick perl question: I've got this script I found, and I'm trying to run.
> It required me to install XML::RSS. Now, when I try to run it, it complains
> "encode_entities_numeric" is not exported by the HTML::Entities module
> Can't continue after import errors at
> /usr/lib/perl5/site_perl/5.8.0/XML/RSS.pm line 5 So, I do what the docs say,
> I think, in adding a line to my script of use HTML::Entities qw(:DEFAULT
> encode_entities_numeric);
<snip>
Never mind. A co-worker suggested that I might have to edit the installed perl
module... and when I looked, the thing was out of date and didn't *have*
encode_entities_numeric.

So, now I'm back to "invalid token in Parser.pm line 167....."

mark

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

"Mad Unix" 08-21-2008 11:03 AM

perl
 
Am trying to install perl module "File::Find", but not able it gave the following

cpan[1]> install File::Find
CPAN: Storable loaded ok (v2.15)
Going to read /root/.cpan/Metadata

* Database was generated on Thu, 21 Aug 2008 02:03:21 GMT
Running install for module 'File::Find'
The most recent version "1.12" of the module "File::Find"
is part of the perl-5.10.0 distribution. To install that, you need to run

* force install File::Find** --or--
* install R/RG/RGARCIA/perl-5.10.0.tar.gz
CPAN: Time::HiRes loaded ok (v1.9715)
Running make test
* Can't test without successful make
Running make install
* Make had returned bad status, install seems impossible

Failed during this command:
*RGARCIA/perl-5.10.0.tar.gz****************** : make NO isa perl

************************************************** ************************************************** ******** cpan[2]> quit

Lockfile removed.
[root@PowerEdge1 ftpsync-1.2.33]# perl -version

This is perl, v5.8.8 built for x86_64-linux-thread-multi

Copyright 1987-2006, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the

GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".* If you have access to the

Internet, point your browser at http://www.perl.org/, the Perl Home Page.

--
Your search - madunix - did not match any documents.


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 01:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.