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

Can I safely delete the .cpanm/work directory?

I've used cpanm to install cpan perl modules on my system, however the .cpanm/work directory is 100's of megs and I'd like to delete it. Can I delete this directory without adversely affecting my cpanm installation?
user12345
  • 173
  • 1
  • 6
4
votes
0 answers

Strange Apache/PHP&Perl behavior—error (70007)

I’m dealing with a particular strange situation: I have two Linux machines, one with Scientific Linux (v4.8) and one with CentOS (v6.2). On the SL machine I have a XAMPP distribution with Apache 2.2.9, while on the CentOS I have Apache 2.2.15 (no…
Alex
  • 217
  • 4
  • 10
4
votes
3 answers

Perl virtual environments?

Background (not a mandatory read) I started my current job as a web development intern. The guy who was teaching me left half way through and I have basically been left up sh*t creek with only a Google paddle since there is almost no documentation…
JackalopeZero
  • 201
  • 2
  • 8
4
votes
1 answer

Perl script error: byteloader version mismatch

I have perl script for TSM reporting which was working fine in AIX version 5. After upgrading AIX to version 6, the script is not working. I'm getting this error: byteloader version mismatch expected 0.5 , got 0.6 . I guess after upgrading OS perl…
Amit Singh
  • 81
  • 4
4
votes
1 answer

Squid with php or perl "url_rewrite_program" on windows

I want to redirect all my http proxy traffic to a perl or php script. I have a working squid setup, and have this in my squid.conf url_rewrite_program "c:\\squid\\redirect.pl" But when I start squid in the console it exists with abnormal program…
4
votes
3 answers

cpan modules search from the command line?

If I'm not wrong the first step to start with the command line with cpan is next # perl -MCPAN -e shell but I don't know what I should do for looking a module, can you help me, what should I write to find next…
arrrrgv
  • 181
  • 1
  • 3
  • 7
4
votes
3 answers

Windows Apache 2.2 painfully slow executing CGI

I've recently set up Apache 2.2 and git on one of our Windows XP PCs for gitweb access using the setup at https://git.wiki.kernel.org/index.php/MSysGit:GitWeb As noted on the wiki, the only version of Perl that seems to work with gitweb the way it…
JJS
  • 39
  • 4
4
votes
5 answers

installing lots of perl modules

I've been landed with the job of documenting how to install a very complicated application onto a clean server. Part of the application requires a lot of perl scripts, each of which seem to require lots of different perl modules. I don't know much…
Colin Pickard
  • 1,260
  • 2
  • 16
  • 28
4
votes
7 answers

I have a perl script that is supposed to run indefinitely. It's being killed... how do I determine who or what kills it?

I run the perl script in screen (I can log in and check debug output). Nothing in the logic of the script should be capable of killing it quite this dead. I'm one of only two people with access to the server, and the other guy swears that it isn't…
John O
  • 283
  • 3
  • 15
4
votes
1 answer

Setting environment variables for a service without a login shell on Debian

I have created a linux service that runs as a deamon (and gets started from /etc/init.d/X). I need to set some environment variables that can be accessed by the application. Here's the scenario. The application is a bunch of Perl AGI scripts that…
domino
  • 215
  • 2
  • 8
4
votes
5 answers

Force CPAN to download via HTTP (skipping proxy)

I'm about to lose my mind. How in the world do you tell CPAN to download via HTTP only? ...and NOT via a proxy.
syn-
  • 493
  • 3
  • 7
  • 10
3
votes
2 answers

Force all Perl scripts to run with `use strict`

I just went through a large legacy Perl web application (built using cgi-lib.pl and running as CGI with Apache HTTPD) and updated every script to use strict;, fixing a lot of small bugs along the way. Now this is done, I want to prevent people from…
yakatz
  • 1,213
  • 4
  • 12
  • 35
3
votes
1 answer

Building old Perl from source - How to add math library?

When I make Perl 5.10.1 I get some errors, I found some related threads that stated: The error messages are from the linker, not from the compiler. You should get away by placing a -lm at the end of all compilation lines. My Question is where are…
rreeves
  • 171
  • 2
  • 11
3
votes
1 answer

Windows 10 - Perl vs. dsadd/dsquery

I created a perl script for adding users to Active Directory a few months ago. On Windows 7 it runs fine. On Windows 10 perl is not able to run "dsquery" or "dsadd" but I can really not understand this. When I run "dsquery" from the same command…
user333163
  • 73
  • 1
  • 1
  • 8
3
votes
1 answer

Where can I find free web hosting for my Perl application?

I'm learning Perl and I wrote a simple application which I want to host. I would prefer free hosting, because as I'm just learning and my project is very simple.
Nathan Campos
  • 241
  • 2
  • 11