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 can I allow anonymous access to OTRS FAQ area?

I have been searching for this for quite some time now. I am using OTRS 2.4.7 and installed the FAQ package version 1.6.5. Everything seems to work fine. When I am logged in, I can create articles and other users have the ability to browse the…
robbie
0
votes
3 answers

Perl program doesn't get displayed in browser (windows)

system info: i have installed XAMPP on my machine having Window XP OS . also installed Apache2.2, now, i have created two folders in C:\xampp\htdocs they are php and perl . these folder contains programs in their respective languages (ie index.php…
Dexter
0
votes
0 answers

Not able to Fetch email in otrs

I am trying to setup a otrs ticketing tool , the tool needs to fetch email and generate ticket, when I am setting that with my google mail account its working however when I am using my professional mail it is not. its still fetching the email but…
biplab
  • 5
  • 2
0
votes
1 answer

Trying to install XML::Parser on RHEL8 Linux

I'm trying to install XML::Parser in RHEL8 Linux and have both OS RPM packages 'expat' and 'expat-devel' installed. I also have a successful expat Perl module installation running: cpanm XML::Parser::Expat XML::Parser::Expat is up to date. (2.46)…
codecat
  • 1
  • 1
0
votes
0 answers

Configuring Routers using IRRToolset/IRR Power Tools

Recently, I've started configuring routers using irrpt. It offers the features I require, which are described in the section under "Purpose" (https://github.com/6connect/irrpt#purpose). But I am unable to modify them or add my own ASN. How would…
Lucifer
  • 1
  • 3
0
votes
2 answers

Run a perl script in a browser via a link

I'm attempting to get a perl script up and running on Oracle Linux 8.5. My Apache server and virtual hosts work with static html. My test virtual host, fnu, has a very basic perl script named hw.pl in /var/www/fnu: #!/usr/bin/perl print…
SKaye
  • 1
  • 1
0
votes
1 answer

Perl array of arrays in loop

How can I add array to list of arrays ( 2D array ) in perl ? This option not working / example: my @db; my $i = 0; my @random; while($i < 10) { @random = genNum(49, 6); @db[$i++] = @random; } print $db[3][1] . "\n";
Macsurf
  • 41
  • 5
0
votes
0 answers

HTTP_IF_NONE_MATCH Missing on Server Side with Chrome Requests to NGINX

I'm trying to add etag based cache verification to a web app I've developed that runs on Apache via an NGINX reverse proxy. The web app is written in Perl. In the Perl script, I check for the $ENV{'HTTP_IF_NONE_MATCH'} header and then test the etag…
Timothy R. Butler
  • 703
  • 2
  • 11
  • 22
0
votes
1 answer

What happened to Data::UUID in SLES?

I have a Perl program with tradition (i.e. I use it over 10 years), but today I realized that it cannot find Data::UUID any more. I also tried to install a corresponding package from the SLES software repository, but I could not find one. AFAIR it…
U. Windl
  • 366
  • 3
  • 17
0
votes
1 answer

Failed to set up Apache for executing PERL file in FreeBSD

I've successfully installed perl5 and apache24 in FreeBSD 12. Then I enabled apache24 in /etc/rc.conf and see index.html placed in the path /usr/local/www/apache24/data. Then in the file /usr/local/etc/apache24/httpd.conf I've uncommented the…
stckvrw
  • 121
  • 5
0
votes
1 answer

Is FastCGI OK in 2021?

It appears most discussions about FastCGI here are frozen from nearly a decade ago and so as someone who just decided to start making use of it, I'm wondering if I am making a mistake with unforeseen security or compatibility issues ahead of me.…
Timothy R. Butler
  • 703
  • 2
  • 11
  • 22
0
votes
0 answers

Why are these packages removed when installing ufw on Debian 6?

I have a very old legacy server running Debian 6.0.10, from which I'm gradually moving things to Debian 10 on a fresh server. There haven't been any real issues, although I'm well aware there may be vulnerabilities. So as a temporary security…
Dave Everitt
  • 201
  • 1
  • 4
  • 11
0
votes
2 answers

Best and simple way to prevent automatic backups filling all disk space in Linux, before it actually happens

Which do you think is the best and most simple way to prevent automatic backups filling all disk space in Linux, before it actually happens? I would like to automatically recycle the oldest ones when the disk reaches, let's say 85% full
0
votes
1 answer

Can't run CPAN due to missing modules (but they are there!)

I've got a big problem with my RHEL7 Perl installation. Whenever I try to run cpan, it gives me the following error: [michael@xlinfp101 ~]$ sudo cpan [sudo] password for michael: Socket object version 2.010 does not match bootstrap parameter 2.030…
0
votes
1 answer

StrawberryPerl 5.32.0.1 & Tk CPAN error: Undefined reference to MAX

Trying to install Tk through CPAN with StrawberryPerl 5.32.0.1 and getting an error at the end. Tried both 32 & 64 bit versions and get the same error with both. Here's the output of the relevant lines: "C:\Strawberry\perl\bin\perl.exe"…
Brent
  • 107
  • 1
  • 2
  • 8