Questions tagged [perl]

Perl is a language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports based on that information. It's also a good language for many system management tasks. The CPAN is Perl's module repository and is where users should turn first for code that implements solutions to already-solved problems.

From the Perl documentation:

Perl is a language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports based on that information. It's also a good language for many system management tasks. The language is intended to be practical (easy to use, efficient, complete) rather than beautiful (tiny, elegant, minimal).


Free Perl Programming Books

If you are just starting out with Perl some of the references below may be worth looking in to.

596 questions
5
votes
3 answers

Cannot run logwatch due to Date::Manip issue

I tried to run logwatch at follows [root@machine cron.daily]# ./0logwatch ERROR: Date::Manip unable to determine TimeZone. Execute the following command in a shell prompt: perldoc Date::Manip The section titled TIMEZONES describes valid…
Quintin Par
  • 4,373
  • 11
  • 49
  • 72
5
votes
4 answers

Munin on Centos 6 - missing perl MODULE_COMPAT_5.8.8

I'm trying to install Munin on a new VPS through yum install munin but I keep getting an error about a missing perl module: Requires: perl(:MODULE_COMPAT_5.8.8). This is the perl version currently installed: v5.10.1. I've searched all around and…
André Bergonse
  • 149
  • 1
  • 1
  • 4
5
votes
4 answers

SSH file transfers hang after ~700KB

OVERVIEW I'm scripting SFTP file transfers on a Windows 7 box in the field. When I transfer zip files larger than a megabyte or so, the transfer (and SSH) stops unexpectedly after about 700KB. The SSH process seems to hang but it doesn't start…
Secure Shel
  • 171
  • 1
  • 6
5
votes
4 answers

Strawberry Perl libeay32_.dll problem

I've installed Strawberry Perl (v5.12.3) on Windows Server 2008 32 bit and I was hoping to run simpledb CLI tools. I had a small issue with HOME environment variable, I renamed it to HOMEPATH to solve the problem, but when I tried to run I got: This…
stivlo
  • 749
  • 3
  • 10
  • 24
5
votes
2 answers

Help Installing Perl Module XML::Parser using CPAN

I'm trying to install the XML::Parser perl module using CPAN and can't get it to work. Below is the output that is being displayed by CPAN which appears to indicate that Expat is the issue. Geting this installed is critical for us and I'm at a loss…
Russell C.
  • 215
  • 2
  • 8
5
votes
4 answers

Coding exercise for Linux Systems Admin?

I am preparing for a Systems Admin(linux) role for a big company(top 10 companies) and one of the requisite is knowledge of a language like perl, python or Ruby. I have a phone interview which involves sharing a editor with the interviewer, now what…
5
votes
3 answers

Setup Oracle instant client on CentOS/RHEL Linux - for PHP and Perl

I'm trying to setup a CentOS 5.5/64 bit VM to access a remote Oracle database with PHP and Perl scripts. (I have no experience with Oracle, have only programmed and administrated some PostgreSQl and MySQL before.) I've installed the following Oracle…
Alexander Farber
  • 714
  • 4
  • 17
  • 38
5
votes
3 answers

Finding the current user authenticated by basic auth (Apache)

When you log in through a basic auth page, is the username you authenticated as stored anywhere (on the server or client machine), maybe in an environment variable? Background: I have a common web administration page for an e-mail server and I'd…
RHELAdmin
  • 360
  • 3
  • 10
5
votes
2 answers

Perl search & replace

How can I use search and replace to change the contents of a file. I need to be able to change the 'all to none' and/or 'none to all' without having to manually do it every time for hundreds of lines. below is a sample text file with lines numbers…
user36101
  • 53
  • 3
5
votes
6 answers

Eror installing Perl Crypt::OpenSSL::RSA module

I spent several hours but unable to install CPAN Crypt::OpenSSL::RSA module. It's required for Postfix's dkimproxy add-on. What I do is to run the following command in the shell: $ perl -MCPAN -e 'install Crypt::OpenSSL::RSA' When I run this…
Willy
  • 225
  • 1
  • 5
  • 9
4
votes
1 answer

Perlbal For Upload Handling

how and how well does perlbal handle uploads? does it take care of buffering the entire file to disk efficiently, and then pass arguments or headers to the backend describing the file? right now, im using nginx's upload module, but i'd like to use…
matt
  • 129
  • 1
  • 5
4
votes
2 answers

AWStats not showing anymore Referrers / Keywords /keyphrases

Me and my colleagues are struggling to find a solution over a strange problem with AWStats. Some months ago, we moved a production environment from a CentOS to an Ubuntu 14.04. Since then, the Referrers sections is not showing anymore browsers /…
John
  • 49
  • 4
4
votes
1 answer

Installing GD Perl module on Ubuntu 16

I'm trying to get the GD.pm Perl module installed on my server. I get this error when trying to install with cpanm: Please install libgd 2.0.28 or higher. I did some research, and people suggest trying to run apt-get install perl-GD, but as you can…
Andrew Newby
  • 1,102
  • 2
  • 25
  • 58
4
votes
3 answers

How to do an unattended / silent CPAN install / setup

Is there a simple, backward-compatible way to install a Perl module silently using CPAN? PERL_MM_USE_DEFAULT doesn't work for older versions that don't detect a default continent; CPAN will just loop at Sorry! since you don't have any existing…
Craig Ringer
  • 11,083
  • 9
  • 40
  • 61
4
votes
1 answer

cpan perl module warning error

Trying to install multiple perl modules. I've already installed cpan and perl via yum on the centos 6 64bit box I get similar errors as below. CPAN.pm: Going to build G/GA/GAAS/URI-1.60.tar.gz Warning: Prerequisite 'Test::More => 0' for…
user148117
1 2
3
39 40