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

I'm having trouble installing perl module Crypt::OpenSSL::AES

I'm having trouble installing a perl module onto my server called Crypt::OpenSSL::AES I'm using cpan to try to install it but it keeps coming back with an error: Checking if your kit is complete... Looks good Writing Makefile for…
-1
votes
2 answers

Regex - match third number before a character

I have this string: /dev/sda1 23G 46G 47G 22% And want to match only the integer in 47's place. I tried modifying the "match second set of numbers" example (i.e.,\d+[^\d*](\d+)) here to make it match the third set (e.g., ,…
blashmet
  • 19
  • 2
-1
votes
1 answer

Can not install Net::SSH2 module Perl

I am getting the following log while trying to install Net::SSH2 module in my debian machine. I don have libssh2-dev installed but still Im getting this error. also it says "Couldn't find your C compiler". Im pretty sure I do have C compiler…
user3360140
  • 281
  • 1
  • 4
  • 14
-1
votes
2 answers

How to find Memory details using kstat on SunOS

With reference to my previous post "SunOS free command" I need help to find the memory details using kstat command on sunOS. I will really appreciate if anyone can help me with a perl script.
Octopus
  • 191
  • 4
  • 11
-1
votes
1 answer

Apache errors - *** glibc detected *** Backtrace - perl

I have been getting these errors in my apache logs on my server - it only happened once a day or every two days. Any idea what could be causing this? I dont even have an idea of where to start? *** glibc detected *** /usr/sbin/httpd.worker: double…
-1
votes
2 answers

linux/solaris insert date & time at the beginning of each line in file

I want to add date & time at the begging of each line in some file I used sed in order to add the date & time before each line in file please advice what I need to update in my sed in order to support this action , I can accept other solution with…
yael
  • 2,433
  • 5
  • 31
  • 43
-1
votes
2 answers

All Details of a Running Process

Possible Duplicate: How do I deal with a compromised server? This process is running on my Linux server and is sending spam (connecting to port 25 and port 80 with random IP's). top - 12:28:42 up 108 days, 2:24, 1 user, load average: 0.08,…
-1
votes
3 answers

perl remove two slashes regex

I have file wich has many lines inside All lines that contain file=/aaaaaaa/bbbbbbb/cccccc/dddddd.txt it needs to be stripped to this format file=/dddddd.txt i am executing perl in bash somethin like this perl -i -pe 'regex'…
Kamil
  • 1
-1
votes
2 answers

merging two files using perl keeping the copy of original file in other file

I have to files like A.ini and B.ini ,I want to merge both the files in A.ini examples of files: A.ini:: a=123 b=xyx c=434 B.ini contains: a=abc m=shank n=paul my output in files A.ini should be like a=123abc b=xyx c=434 m=shank n=paul I want…
-1
votes
1 answer

installation & configuation the Apache 2 on OpenSuse 12.1 - a quick walktrough

experts, good day. sorry for being the newbie - i am pretty new to linux and Apache. i am pretty new to Linux i tried to installl & configure the Apache 2 on OpenSuse 12.1 - here my quick walktrough is this correct!? see the page 3 /or 4 of the…
zero
  • 159
  • 1
  • 1
  • 8
-1
votes
1 answer

Setting Ubuntu proxy in Perl

How would I go about doing this? I have a list of proxies and want to rotate through them, but I need to know how to set the proxy first.
-1
votes
4 answers

perl accelerator?

what is the best accelerator for Perl website?
-1
votes
1 answer

Banner Insertion on Proxy Squid

hey guys are you aware of anchorfree vpn?, i have used them before, however i am running my cybercafe on squid, and i want to advertise using squid, i would like to know how to add a banner at the top of every page randomly just like anchorfree…
Saxtor
  • 123
  • 6
-1
votes
1 answer

I want to login to a Linux host as user "admin"/password="admin then sudo as root and change root password

And all of this needs to be scripted in perl so this functionality is available to the 4 internal test hosts that i work with.
kamal
  • 509
  • 4
  • 10
  • 21
-1
votes
0 answers

IIS 10 | CGI/Perl | NTLM Auth | No credentials are available in the security package (0x8009030e)

I have been blessed to take over an old application that is now giving me a headache as part of hardening measures. Function of the Perl application: Query active directory groups to the current NTLM authenticated user. Display of certain links…
1 2 3
39
40