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

Amavisd-new cannot start - missing Unix::Syslog (CentOS)

I followed the basic instructions here for installing amavisd, spamassassin + clamav... http://wiki.centos.org/HowTos/Amavisd I get the following error when trying to start amavisd... # service amavisd start Starting Mail Virus Scanner (amavisd):…
0
votes
1 answer

How do you enable Perl on Ubuntu with Apache2

I have installed ubunutu witha apache on my pc and everything works great except: I don't know how to enable perl, everything I have tried either gave me a server error or gave me a 403 for the perl scripts. Please tell me how to enable Perl.…
rgbc
  • 21
  • 1
0
votes
2 answers

Need help running CGI scripts on Mac OS X Apache

I'm trying to run a simple CGI perl script (see below) using Apache on my Macbook running OS X Lion and I'm having difficulty getting it to run even the simplest of scripts. I have turned on web sharing in settings, and I am positive that I have…
Nosrettap
  • 103
  • 1
  • 4
0
votes
1 answer

Making lighttpd redirect from www.example.com to www.example.com/cgi-bin/index.pl

What the title says.. www.example.com is defined in lighttpd.conf as a virtual host: $HTTP["host"] =~ "(^|\.)example.com$" { server.document-root = "/usr/www/example.com/http" accesslog.filename =…
Jarmund
  • 535
  • 2
  • 6
  • 17
0
votes
1 answer

Windows, Apache and MSSQL Authentication

I have a create database script written in perl. I remember it working just fine another machine. A couple years later using a Vista machine I am trying to use it again and it keeps failing. The main difference is that now I am using Apache…
user1114330
  • 173
  • 1
  • 3
  • 11
0
votes
1 answer

Check_webinject plugin will not connect to https site using

We're using Nagios to monitor some of our web sites. We have a script that uses the older plugin that we are trying to switch to using webinject.pl from cpan. When the script runs, it generates this error: LWP::Protocol::https::Socket: SSL…
uSlackr
  • 6,412
  • 21
  • 37
0
votes
2 answers

su on perl script doesn't work from crontab

I have a perl script running o.k. on unix machines and manually from root user but not from crontab on linux machine: the problematic command is: su - $user system("su - togui103 -c \"/home/togui103/RunEnv/scripts/tomcatkill.csh\""); command on…
0
votes
1 answer

Accessing Bugzilla return internal server error

I tried to install Bugzilla 4.2.1 to an Amazon EC2 with Amazon Linux OS. I have installed all the necessary perl_modules from the EPEL repo, and configured httpd and mysqld. But when I try to view it in browser, it throws an internal server…
Peter
  • 3
  • 2
0
votes
1 answer

Can't install Perl module Apache::SizeLimit on CentOS

On a CentOS machine I have installed mod_perl: yum install mod_perl ... Package mod_perl-2.0.4-10.el6.i686 already installed and latest version Ok, now I want to install the Perl module Apache::SizeLimit, so I do (and get): yum install…
Matthias
  • 302
  • 4
  • 16
0
votes
1 answer

Install Facebook Perl Module Debian

I'm getting an error Can't locate Facebook.pm I'm wondering if anyone can tell me how to install the perl facebook module under debian. Thanks the full error is Can't locate Facebook.pm in @INC (@INC contains: Plugins Modules . /etc/perl…
Belgin Fish
  • 919
  • 5
  • 17
  • 31
0
votes
1 answer

nginx redirect issue with upstream configuration

I have a website running with nginx and Plack/Starman as upstream. simple configuration looks like: upstream findmjob { server unix:/tmp/findmjob.sock; } server { listen 80; server_name findmjob.com www.findmjob.com…
Fayland Lam
  • 103
  • 1
  • 7
0
votes
2 answers

Mail::Sendmail with attachments and embed Perl in Bash script

1> I want to embed below Perl script in BASH script, and the Message should read from a message.txt file. How to realize this? use Mail::Sendmail; %mail = ( To => 'you@there.com', From => 'me@here.com', Message…
Andrew
  • 113
  • 1
  • 5
  • 14
0
votes
2 answers

What may be wrong with String::ToIdentifier::EN tests?

I try to install Perl module String::ToIdentifier::EN (as depndency of DBIx::Class::Schema::Loader) but it fails on tests. I googled those errors but get no picture, where is problem: Building and testing String-ToIdentifier-EN-0.07 cp…
wk.
  • 281
  • 1
  • 2
  • 14
0
votes
1 answer

Modify apache 2 to use different Perl instance

I have 2 installed Perl on the OS, now my cgi script need to run the module on newly installed Perl, I've already set played the PERL5LIB, @INC to include the new instance but it doesn't work. Any way to modify apache to look/use the new Perl…
lupin
  • 1
0
votes
2 answers

Is it possible to save the perl modules using cpanm?

The following commands attempts to reinstall, I just want to download w/o installing. I'm usnig Ubuntu. cpanm Test::Fatal --save-dists saved
sdot257
  • 3,059
  • 5
  • 30
  • 39