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
5 answers

Finding matches from one large file in another?

I have two email lists. One is a newline delimited file of just email addresses containing 100k lines and the second file contains email,date,ipaddress newline. It has 4M lines, and contains duplicates which I am not concerned with. grep -f…
Lloyd
  • 1
0
votes
1 answer

Compare Error logs across service fleet, find unique errors

I'm looking for a tool where I can list the servers to check, the location of the file and it would return a list of the most common errors across those servers (say like 2 or 3 servers for report brevity) and get a report something like…
0
votes
1 answer

blip.tv ftp structure

My website need a FTP structure like blip.tv has. Each user has a FTP login Example: Host: ftp.domain.com Username: johndoe password: 123123 Users will able to upload files by FTP, but files will be save in many different servers. file name and…
Quan MT
  • 3
  • 2
0
votes
4 answers

How do I rsync an entire folder based on the existence of a specific file type in that folder

I have a server set up that receives movies to a folder. I then serve these movies using DLNA. But in the initial folder where they end up all kind of files end up. Pictures, music, documents etc. I thought I'd fix this by running the following…
inquam
  • 179
  • 1
  • 13
0
votes
1 answer

404 Not Found for a PL script that exists!

I make a GET request to a CGI script and I get a 404 error. However, I am 100% sure that script is present and it has permissions: -rwxr-xr-x 1 apache apache 6520 Sep 7 03:01 uu_ini_status_audios.pl The request URL…
Abs
  • 1,559
  • 5
  • 19
  • 32
0
votes
1 answer

DO i need to learn perl

I am planning of working in system administration field. Initially i was thinking of learning python for script writing. But in some jobs they need perl as well. DO i nned to learn perl so that in case i need to edit some already written script and…
John
0
votes
1 answer

Perl module error on solaris-10

I have installed perl and pm_dbdmysql perl module on solaris-10. I have a perl script which makes the mysql DB connection to a diff server and runs some queries and returns the results. Its working fine on linux(redhat) but when I am running the…
Ramesh Kumar
  • 1,770
  • 5
  • 19
  • 29
0
votes
1 answer

apache don't execute perl source

I need to enable web interface for Asterisk Voice mail. To do that I put Perl scripts from asterisk dir to /var/www/vmail. And started Apache2. But when I go to localhost/vmail/vmail.cgi it doesn't execute it but offers me to download this script.…
Ivan
  • 101
  • 2
0
votes
1 answer

Get DHCP leases from Windows 2003 with a perl script in Ubuntu

I have a Windows 2003 server and need to poll the DHCP lease information from it with a perl script that is running on a Ubuntu server. Then I need to analyze & store the information in a mysql database. Is there a way to query the leases from a…
BrNathan
  • 186
  • 1
  • 10
0
votes
1 answer

Lighttpd passing url as argument to perl cgi script instead of trying to find file

So I am running lighttpd and am in the process of hacking together a simple pastebin-like scipt. I have set up pb.domain.blah to run a perl cgi script (it is set in index-file.names) and was wondering if it would be possible to have something like…
cjh
  • 103
  • 3
0
votes
2 answers

Check by program if eth link is up or down on linux o.s. ...and kernel 2.4

I need to check the change in the status of eth connection ( link up and link down ) by program ( using c or perl ). Now I using the keepalive way, but i sometime loose the notification. Inside the messages files I see the kernel notification of…
enzo1959
  • 195
  • 1
  • 1
  • 8
0
votes
4 answers

Installing perl module

How to install perl module Util.pm .I am missing this module .What is the procedure to install a perl module
Rajeev
  • 251
  • 1
  • 4
  • 10
0
votes
1 answer

Perl + Catalyst hosting only possible on a (pricey) VPS?

I'm about to set up a website with a Wiki and was looking at MojoMojo as a more user friendly alternative to MediaWiki. The problem however is that it runs on Perl and Catalyst framework, for which it seems that I have to go for a VPS solution,…
dain
  • 155
  • 1
  • 8
0
votes
1 answer

Accessing UNC paths from inside Perl CGI under IIS6

For space reasons, we need to move some files off our main file/webserver to another network fileserver. However, the original file/webserver is still responsible for providing access to these files, so that everything is seamless to the users. I…
jimtut
  • 217
  • 1
  • 3
  • 13
0
votes
2 answers

Perl Module XML::Expat won't dynamicall load under IIS 7 and Windows 2008

We're moving our old Perl/CGI application to a new system internally and ran into a snag. When I run: perl -MXML::Parser -e 1 From the command line, all is well. However, when I run it from a CGI script as use XML::Parser, all hell breaks…
Clinton Pierce
  • 186
  • 2
  • 10