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
0
votes
1 answer

How to interpret .pl with mod_perl instead of cgi?

I'm now configuring Apache this way: AddHandler cgi-script cgi pl So that .pl will be interpreted as CGI script. How can I make it run as mod_perl instead?
linux
  • 1,223
  • 4
  • 13
  • 15
0
votes
2 answers

Perl script that will remotely ssh to linux and get memory status back to my machine

I need help. I have Linux box (openSUSE 11.4); writing Perl script (Perl 5, version 12). My script should SSH to the remote Linux machine and get back with the memory results. So far, I have SSH working with DSA private key for passwordless…
Maestro
  • 11
  • 1
0
votes
1 answer

Random Connections to MySQL refused (Error 111)

A Perl/CGI webapp that has been running fine for almost a year has started to randomly been unable to connect to a remotely hosted MySQL. The Error thrown is : Can't connect to MySQL server on 'xx.x.xxx.xx' (111) Reloading the page often solves…
joatis
  • 101
  • 4
0
votes
1 answer

Does anyone know a way to interact with HP OV(NNM) with python, perl or bash?

Do anyone know if there is out there any API/library to access NNM database from perl or python? We have a NNM 7.53 which give us access to its data with its java based applet through http. And of course through the 'ovw' GUI interface. I've tried…
Marc Riera
  • 1,637
  • 4
  • 23
  • 38
0
votes
2 answers

calling an environment variable in a ps-watcher config file

I am trying to use ps-watcher to monitor my system and make sure a given number of worker threads are working on a task. If I hard code the number of workers into the config file for ps-watcher, it works great. However I would like the number of…
JD Long
  • 445
  • 1
  • 4
  • 13
0
votes
2 answers

Perl decode exim4 subject in Cyrillic

I've already looked at this article. Problem is like that; when I'm sending a letter through exim4 and subject is with Cyrillic letters I've got something like this in…
MealstroM
  • 1,517
  • 1
  • 17
  • 32
0
votes
1 answer

problem after upgrading perl

I've upgraded perl which is install in /usr/local/lib/perl5/...... Previously old version of perl was installed in /usr/lib/perl5/ Now when i installed spamassasin its locating for the old location and show the following error. Starting spamd: Can't…
User4283
  • 781
  • 3
  • 10
  • 27
0
votes
2 answers

Can't install perl-suid on Debian 5

I'm trying to install perl-suid needed for some script I've downloaded and getting the following $ sudo apt-get install perl-suid The following packages have unmet dependencies: perl-suid: Depends: perl (= 5.10.0-19lenny3) but 5.10.1-17 is to be…
synapse
  • 499
  • 2
  • 6
  • 14
0
votes
1 answer

Protect against silent1.pl Perl Script

I operate a small shared hosting area. While I notice that people are unable/struggle to exploit with PHP I have found a small minority of people using Perl in order to obtain server information. So, to put it simply here is the question I would…
Chris
  • 1,289
  • 2
  • 18
  • 34
0
votes
2 answers

How do I list the absolute path of running processes?

I had a problem recently, where a perl script was consuming server resources. I found out it was a perl script by using "top". But it didn't give the path to the script. Nor did "ps". Is it possible to get the paths to currently running perl…
Kipras
  • 101
  • 1
  • 3
0
votes
1 answer

Is there a Perl/PHP/Ruby/Other webtop-like filemangager platform?

EDIT: Is there a web based file manager / Workspace similar to EyeOS but uses Unix authentication and allows them to edit their files? If that makes sense? Thanks. It'd be awesome if something like this existed if it doesn't...(?)
jaksco
  • 101
  • 4
0
votes
1 answer

Forking and memory allocation question

I have inherited a Perl script that runs on an EC2 instance which basically crawls a bunch of URL's for data (aka scraping). The way this script is invoked is via a shell script that forks multiple of these perl scripts. There could be hundreds of…
Etienne
  • 103
  • 3
0
votes
1 answer

OpenWebmail on Debian 5 (Perl 5.10)

I've upgraded server running OpenWebmail from Debian 4.0 to Debian 5.0. Perl was upgraded to 5.10 as well. I have issues with some functions of OpenWebmail (attachments are 0 bytes size, HTML-formatted e-mails are broken), may be there is some patch…
artvolk
  • 309
  • 2
  • 10
0
votes
2 answers

Can't install Apache::Template on Debian

When I try to install this module via cpan: cpan -i Apache::Template I get an error "512, won't make". This behavior is the same on Debian Lenny or Squeeze. Any ideas on how to get it to build?
Bobber
  • 1
0
votes
1 answer

How to get perl stderr to httpd log file when using syslog

This question is about HTTPD (Apache) 2.? on centOS and modperl 1.7+ When I use the apache directive ErrorLog logs/error_log, my perl warnings show up in the error_log file. When I change this to ErrorLog syslog:local1, no perl warnings show up in…
ryansstack
  • 128
  • 4