Perl is a high-level programming language that comes installed by default in Ubuntu. It is well known for it's use for text manipulation, CGI scripts and it's huge community. You can find any modul and many tutorials on http://www.cpan.org/

learn more… | top users | synonyms

0
votes
2answers
41 views

Forming IPAddresses from Text file

I have a huge text file that contains IP addresses scrambled all over but not in one unit for example. So what the@192@ heck are you doing@168@ in my house @10@.you were not @16@ supposed to be ...
11
votes
1answer
12k views

How to set locale?

After a clean Ubuntu Server install, I get the following error when running 'perl'. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = ...
0
votes
0answers
15 views

lighttpd compilation error in the file configfile.c

While I’m trying to install lighttpd I get the following error: "(configfile.c.1003) opening configfile /etc/lighthttpd/lighttpd.conf failed: No such file or directory" So what is solution?
1
vote
1answer
1k views

How do I install a perl module in Ubuntu 12.04?

I need to use package List::Compare. I have downloaded Compare.pm which says use List::Compare::Base::_Auxiliary qw( _validate_2_seenhashes _chart_engine_regular ); What all do I need to ...
0
votes
0answers
31 views

Gnu Cash Price Editor

GnuCash Price editor is not longer working since Feb. I ran it in Feb with no problem. I have tried updating in cpan...but no luck. Apparently the version of perl-f-q in the main ubuntu repos won't be ...
0
votes
2answers
56 views

can “libexcel-writer-xlsx-perl” be added to precise and later?

I am interested in using the Perl module Excel::Writer::XLSX on Precise. I can install it using CPAN, but due to complications at my office, it'd be easier to just be able to do apt-get install from ...
0
votes
1answer
21 views

How Do I Run update-perl-sax-parsers to get XML::LibXML::Document properly installed?

I've just tried to install the Perl module XML::LibXML::Document using the cpan shell and at the end of the process it says: Please use 'update-perl-sax-parsers(8) to register this parser.' See ...
1
vote
3answers
600 views

Ubuntu 13.10, Perl complaining about setting locale

I'm getting rather annoyed with Ubuntu 13.10. I need to go about fixing locales on my server, or else I see junk like this happening: perl: warning: Setting locale failed. perl: warning: Please check ...
1
vote
1answer
43 views

What modules do I need to run perl CGI with apache?

I have some CGI script using perl and I would like to make them work on Apache. I have the following installed : $ dpkg -l | grep perl | grep apach ii libapache-session-perl 1.90-1 ...
0
votes
1answer
29 views

Ubuntu server strange locale issue

Installed brand new Ubuntu 13.10 64 bit on Hetzner server. Right after install tried to execute apt-get update and apt-get dist-upgrade. Getting following error nearly on all apt-get operation perl: ...
0
votes
1answer
126 views

How to define the directory path of a file on my hard disk

I am having a problem when I want ro run a program which is my personal folder /home/student/trap/trap.pl, although I run this program from my hard disk only by defining the directory. The problem ...
0
votes
2answers
93 views

It is possible to run a Exe file in RedHat [closed]

I am new to linux. I run the batch file which will execute exe file in automated way. I need to do the same in linux. Kindly give me some idea how to use it. Thanks in advance
1
vote
1answer
43 views

Error while running perl command on Ubuntu

ruby@ruby-Z87X-HD3:~$ sudo apt-get install libpdf-api2-perl Reading package lists... Done Building dependency tree Reading state information... Done libpdf-api2-perl is already the newest ...
3
votes
4answers
41k views

How do I update/install Perl

The Perl package is in /usr/bin and is an older version (5.12.4) and the current stable release appears to be 5.14.2. How do I update this version? Root access is required, and I do not want to ...
2
votes
1answer
255 views

Using Modifiers of Perl-compatible Regex (PCRE) in grep

According to grep --help and man grep, we can use the -P option in order to interpret the pattern as a Perl regular expression (PCRE, to be precise), instead of the default POSIX basic regular ...
0
votes
1answer
222 views

Error in apache configuration

Initially my PHP was running well and after that when I installed perl CGI modules in order to run my CGI programs, there was problem. From the local host, I am not able to compile my PhP files nor ...
-1
votes
1answer
1k views

cant locate FILE/Find.pm in @INC

As I said earlier, there is some directory called verilog which is HDL language used for hardware description. Inside this directory there are many sub-directories and .v files are available. So I ...
0
votes
0answers
278 views

Perl Module not loading up for OCS Inventory setup

I'm trying to setup the OCS Inventory tool in my network. I can't set up the initial configuration. Check my below ocs_server_setup.log: root@ubuntu:/usr/src/OCSNG_UNIX_SERVER-2.0# vim ...
0
votes
1answer
340 views

Perl dependancy problems installing Webmin

I just installed webmin from a .deb file. on Ubuntu Server 12.04, which went ok. I logged in at the web interface and checked the "Perl Modules" page. There was on module suggested but not installed. ...
0
votes
1answer
78 views

When piping output to a file, why are stderr and stdout in the wrong order?

I have a perl script: warn "1\n"; print "2\n"; warn "3\n"; print "4\n"; I pipe the output to a file: perl script.pl &> foo cat foo: 1 3 2 4 Why isn't the output in order, and how do I ...
-1
votes
2answers
86 views

Reading a file line by line

I have a file that looks like: @ATDGGSGDTSG NTCCCCC + nddhdhnadn @ATDGGSGDTSG NTCCCCC + nddhdhnadn Now its a repeating pattern of "4" lines and I every time want to print only the 2nd line i.e. the ...
0
votes
1answer
422 views

OTRS .opm package installation fails with error?

Scenario: I have downloaded the complete installation file of ITSM after a successful installation of OTRS/HelpDesk. When i go to admin panal @ ...
1
vote
2answers
4k views

Why does my Perl CGI script raise an internal server error on Apache?

I've installed apache2 on Ubuntu 11.04, and localhost is working. I created a simple printenv.pl script and put it in the following directory $ mv printenv.pl /usr/lib/cgi-bin/ $ chmod +rx ...
0
votes
3answers
199 views

How to find out what package contains some Perl module [duplicate]

Here is the task. I need to install some CPAN module on my ubuntu computer. I want to install it from deb package so I need to find out what package contains that module. Sometimes the solution for ...
0
votes
1answer
522 views

How can I install Uniscan on Ubuntu 13.04?

When I try to run uniscan.pl with perl ./uniscan.pl, I get this message: Can't locate Moose.pm in @INC (@INC contains: ./Uniscan /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 ...
1
vote
2answers
76 views

Removing a string of files with rename

I have been trying to batch rename a bunch of files so that they are consistent and fit within the name structure that I have come up with. For instance,I am renaming comics, and so I have a directory ...
2
votes
2answers
7k views

How I can install RRD module in perl?

I'm very new to Ubuntu. I'm using Nagios Graph plugin. That plugin needs perl RRD module to be installed on my system. How I can install that? Thanks in advance.
1
vote
1answer
115 views

How do I change the @INC variable to use BioPerl?

I have successfully installed BioPerl. When I try to use the objects I get an error cannot locate Bio.seq.pm in @INC ..... The "build" programs put everything in the "download" directory. I ...
1
vote
1answer
758 views

index.pl getting downloaded instead of executing on Ubuntu 12.04 and Apache 2.2.22

I have installed Apache 2.2.22 on Ubuntu 12.04. But in browser when I type localhost, it gives index.pl file to download instead of executing it. What I tried: 1. chmod 755 index.pl 2. Adding line ...
2
votes
1answer
68 views

Can a script resume after computer comes out of hibernation?

I kept a perl script running and then forgot it and hibernated my laptop running Ubuntu. When I restarted it, the script was seen to be running (pleasant surprise!). Is this correct behaviour or did ...
0
votes
1answer
480 views

How to configure apache2 in Ubuntu 13.04

I installed apache using ubuntu software center, and now it shows the following text on the page upon entrance of localhost in the addressbar of Firefox It works! This is the default web page for ...
3
votes
1answer
123 views

Why cant i find site_perl directory in Ubuntu?

I am compiling a program from source code. It requires path to my site_perl directory. When I run perl -V, i see that there is /usr/local/lib/site_perl at the end but i cant find the directory in the ...
3
votes
1answer
228 views

yum whatprovides 'perl(Foo::Bar)' equivalent with apt or dpkg?

This is certainly related to this question, but I feel it doesn't overlap, so here we go. How can I get the functionality of the following command on Ubuntu (and/or Debian as bonus): yum whatprovides ...
2
votes
1answer
119 views

Perl module Set::IntervalTree is not installing

Please help me resolve this issue. I am trying to install a Perl module Set::IntervalTree in Ubuntu. I am repeatedly receiving the following error: cpan[1]> install Set::IntervalTree CPAN: ...
1
vote
1answer
370 views

How to conserve/copy perl 5.12 installation before upgrading to ubuntu 12.04?

Ubuntu 12.04 is out, and I want to upgrade. However, I need to conserve my existing perl 5.12 installation before upgrading. On 12.04, there is perl 5.14 and I would need to reinstall lots of perl ...
2
votes
1answer
202 views

How to resolve Perl module error while trying to run NGS QC Toolkit?

I was trying to run NGS QC Toolkit http://59.163.192.90:8080/ngsqctoolkit/ in Ubuntu 12.04 LTS 64 bit version. But, after executing the command, an error shows that states it cannot find module ...
0
votes
1answer
91 views

package 'libhtml-parser-perl': Is a directory E: Sub-process /usr/bin/dpkg returned an error code (2)

I encountered the problem few weeks ago. First I didn't pay to much attention and I let the server running, but for now, there is a lot of upgrades to be fixed and I'm stuck. If I try to upgrade ...
0
votes
0answers
66 views

Perl Crypt::Random?

I see an Openssl::Random, but some of my code uses Crypt::Random. Typically I've used cpan, but I'm trying to avoid that. Is there a Crypt/Random.pm somewhere that I'm missing or should I convert my ...
0
votes
1answer
118 views

Gui application for perl scripts and cshell

I am a very green to Linux. I am now taking a course at my studies basic of Linux. As part of my assessment I need to do some Perl scripts and C shell. But also we have been asked to build a GUI app ...
2
votes
1answer
452 views

Unable to install a CGI script on Ubuntu

I'm trying to install CGIProxy on Ubuntu. http://www.jmarshall.com/tools/cgiproxy/install.html#install Basically it's a single "nph-proxy.cgi" file which I placed in my /var/www folder. I used ...
0
votes
1answer
76 views

Perl: problem with locales

I'm trying to install CGIProxy on my Ubuntu server and according to the instructions I have to: Copy the file nph-proxy.cgi onto your Web server somewhere, but not at the top Web directory, or else ...
1
vote
5answers
5k views

How to batch rename files with “variables”?

I use xmbc to view my tv shows. Before I began using xmbc, I batch downloaded the first few seasons of "Bleach". What can I say, I'm an anime fan ;-). These are named: "bleachxx.mp4" where xx is the ...
2
votes
1answer
4k views

How to install Perl Switch.pm module required to build WebKit-GTK?

I noticed that the perl version (5.14) shipped with 12.10 does not include the Switch.pm module needed while building WebKiT-GTK. Looking around on the internet I found few suggestions indicating ...
2
votes
1answer
73 views

Error installing SHA

I'm trying to install SHA using the following command perl -MCPAN -e 'install Digest::SHA' I also tried using: sudo cpan 'install Digest::SHA' But i'm getting a linker error: ...
-1
votes
2answers
480 views

Is it needed to upgrade perl to new stable version in ubuntu 12.04 LTS [closed]

as above! thanks! Can you suggest a book for this question?
6
votes
2answers
2k views

How do I undo an accidental installation of all Perl modules?

I was attempting to upgrade my Perl modules through CPAN, but I did not supply a regex/module name to upgrade: perl -MCPAN -e 'upgrade'; I can only assume the worst (which seems to be supported by the ...
3
votes
1answer
858 views

Perl doesn't include directory

I have a problem with perl5 with ubuntu. I've got a script, in which I include several directories. When starting the script, the shell returns Can't locate XML/Twig.pm in @INC (@INC contains: ...
0
votes
0answers
180 views

Open multiple terminals after startup in Ubuntu 12.10

Is there a way to open multiple terminals after Ubuntu 12.10 starts up? Actually I was able to run a terminal with a program running, trough the "Startup Applications" tool. The command I am ...
0
votes
1answer
334 views

Macxchange Script to Change MAC and Hostname in ubuntu 12.04

I'm trying to adapt a script in backtrack to work with ubuntu. I keep getting an error on line 14 which is the "if [ $? == 0 ]; then" line the script was found on ...
0
votes
1answer
119 views

Can't run perl-browser

I'm trying to run this program perl-browser but I'm getting fowllowing error: $ perl ./perl-browser Can't locate Gtk2/WebKit.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 ...