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
3answers
294 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 ...
2
votes
2answers
400 views

How to repair fonts for Perl/Tk (14.04)

With Ubuntu 14. 04 I have Perl 5.18.2 for x86_64-Linux-gnu-thread-multi on my laptop which is nice, but after installing Perl/Tk-804.032 from CPAN I seem to only get non-antialiased fonts (scaled ...
0
votes
2answers
1k views

After performing apt-get dist-upgrade Perl scripts will no longer ignore invalid SSL certificates on 14.04

Good morning all, Last week I decided to run the commands to upgrade packages on my 14.04 Server to ensure that I was patched for the recently found Bash vulnerabilties. Per the info here (http://...
3
votes
1answer
1k views

Perl may be unconfigured?

Hi I have error when I want to install,remove or configure my package this is the error debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC (you may need to install the Debconf::...
3
votes
1answer
321 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 ...
2
votes
1answer
128 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: /usr/local/bin/ld:...
1
vote
1answer
39 views

How to read multiple files in a directory by matching a pattern?

I have a directory containing 'x' no. of files. Some files contain a "Pass" string and some others with "Fail". I want to read both files and store the pass and fail files separately into two ...
1
vote
1answer
82 views

Perl check internet connection for 30 seconds if stable, not stable and no internet connection

I want script in perl that can check if my internet is stable, not stable or no internet connection. I use Net::Ping script but reply is "You are connected to the internet.", not checking internet ...
0
votes
1answer
29 views

reformat file in bash

A file I would like to parse looks like #header #header2 #header 3 # header 1 565286 SNP1-555149 C T . PASS AC=4270AF=1.00;AN=4270;set=broad GT 1/1 /1 ...
0
votes
1answer
28 views

extract line from file

a file I need to extract info from looks like 2 41620 . T G 100 PASS AC=3;AF=0.000599042;AN=5008;NS=2504;DP=18872;EAS_AF=0;AMR_AF=0;AFR_AF=0;EUR_AF=0;SAS_AF=0.0031;AA=...
0
votes
1answer
39 views

How can I scan all connected USB drives for a file?

I have an install of Ubuntu and I would like to run a script (bash, perl, python, whatever) that will scan all connected USB drives and report if it finds a text file. Could anyone guide me on how to ...
0
votes
1answer
76 views

Unable to install qt5.5 from git in Kubuntu 14.04.3?

I tried to install qt5.5 from git and after doing the following git clone git://code.qt.io/qt/qt5.git -branch5.5 cd qt5 ./init-repostiory ./configure I am getting the following error: You ...
0
votes
1answer
129 views

404 not found on ubuntu 15.10

I have installed Apache2 and perl on ubuntu 15.10. When i try to run a perl program on the server it says. Not Found The requested URL /cgi-bin/test.pl was not found on this server. But i'm able to ...
0
votes
1answer
99 views

split files with specific pattern

A file I work with is like NAMES n0 n1 n2 n3 n4 n5 n6 n7 REGION chr 1 100000 404 AAAAAAGA 992 TTTTTTTA 1146 CCCCGGCC 1727 CCCCCACC 1778 GCCCCCCC My desired output is (please ...
0
votes
1answer
304 views

when i am trying to run a perl file i am getting permission denied error

/usr/local/share/lxr/lxr-2.0.3/scripts$ ls ANSI-escape.sh ContextMgr.pm LCLInterpreter.pm QuestionAnswer.pm set-lxr-version.sh VTescape.pm configure-lxr.pl kernel-vars-grab.sh lighttpd-...
0
votes
1answer
410 views

How do I repair / reconfigure a broken Perl package when apt and dpkg both depend on Perl?

Recent system updates resulted in errors including this: debconf: Perl may be unconfigured (Can't locate Fcntl.pm in @INC (you may need to install the Fcntl module) (for which I submitted bug ...
0
votes
1answer
652 views

How to convert Arabic subtitles to utf8 the right way?

Most DVD burners (if not all) ask for subtitles to be encoded in utf8, sure that's easy for file in *.srt; do ◀ iconv -f ISO-8859-1 -t UTF-8 -o "$file".utf "$file" && mv "$file".utf "$file" ◀ ...
0
votes
1answer
880 views

How to install WWW::Mechanize::Firefox and MozRepl::RemoteObject?

I want to use WWW::Mechanize::Firefox. Trying to install it via cpan one dependency not OK (MozRepl::RemoteObject); additionally test harness failed Trying to install MozRepl::RemoteObject will not ...
0
votes
1answer
66 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
6k 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 ...
0
votes
1answer
127 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
1answer
202 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 ...
0
votes
1answer
122 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 ...
0
votes
1answer
163 views

Perl Library for Unity

Is there a Perl Library for the Unity Launcher? Apparently there needs to be one to be able to write feedback to the launcher (Like Message Counts) but so far I haven't been able to find one. So I am ...
-1
votes
1answer
31 views

read numbers with e in awk

Hello a file I am working with looks: header // SeqT: {"POS-s":174.683, "time":0.0130084} SeqT: {"POS-s":431.49, "time":0.0221447} [2.04545e+2]:0.00843832,469:0.0109533):0.00657864,((((872:0....
3
votes
0answers
310 views

Perl package not found with apt

When I try to do an upgrade or install something, apt(-get or aptitude) throw an error, saying that perl can't find XML/SAX/Debian.pm while trying to configure libxml-libxml-perl. Here is the full ...
2
votes
0answers
1k views

Apache 2.4 and mod_perl 2 on Ubuntu 14.04: local configuration

I'm trying to get Apache 2.4 configured such that I can test mod_perl 2 code locally (I should note that I have little recent experience with Apache). I've installed both of them on a machine running ...
1
vote
0answers
44 views

Perl script error : 'script executable not found'

I am trying to execute a perl script from Ubuntu (14.04 LTS). The script is transOutput.pl which calls an executable pdb_trans. However, when I run the script, I get the following error that pdb_trans ...
1
vote
0answers
48 views

14.04 update problem with executable file mode

Here's the problem: I create a file called foo.pl containing #!/usr/bin/perl as the top line I execute chmod u+x foo.pl I type ./foo.pl at the command prompt and get the following bash: ./foo.pl: ...
1
vote
0answers
555 views

Errors installing the perl module File::Scan::ClamAV

Ubuntu 14.04 LTS, Gnome desktop. I'm missing one of the requires for having ClamAV work with SpamAssassin and it will not install, here is the output. The command used to install is: chris@localhost:~...
0
votes
0answers
18 views

How to fix this Problem ./checksetup.pl

Perl API version v5.14.0 of List::Util does not match v5.18.0 at /usr/share/perl/5.18/XSLoader.pm line 92. Compilation failed in require at lib/x86_64-linux-gnu-thread-multi/Scalar/Util.pm line 23. ...
0
votes
0answers
32 views

Cron script runs but dpkg command fails

I have a cron script that updates a package with dpkg. This is an oversimplified version of a much larger script. But this is the part that is not working. I copy the update cron script to /etc/...
0
votes
0answers
22 views

How to run EasyModeller (GUI for Modeller) on Ubuntu 14 x64?

I have successfully installed Modeller. I want to try to use the front end GUI software EasyModeller. However, when I try to run it I receive the error message as follows: user@pc:~/Downloads/...
0
votes
0answers
19 views

How to make psad to work after upgrade to ubuntu server 14.04

I get this error: Perl API version v5.14.0 of Date::Calc does not match v5.18.0 at /usr/lib/perl/5.18/DynaLoader.pm line 207. Compilation failed in require at /usr/sbin/psad line 3220.
0
votes
0answers
37 views

PHP Errors in mail

I've been getting these error messages sent to me a lot lately, pretty sure it's causing me a problem. From root@kallarserver Fri Apr 15 13:39:01 2016 Return-path: <root@kallarserver> Envelope-...
0
votes
0answers
15 views

Koha in UBUNTU 12.04

At the time of accessing KOHA (LMS) embeded in ubuntu12.04 this message hasbeen shown "Can't locate Date/Calc.pm in @INC (@INC contains: /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/...
0
votes
0answers
39 views

why my desktop entry file not working for a perl program?

[Desktop Entry] Name=hotel Version=1.0 Encoding=UTF-8 X-GNOME-FullName=hotel Type=Application Categories=Application;Utility; Path=/home/yathayed/yedukondalu/programs/perl/advanced/tk Exec=perl /home/...
0
votes
0answers
465 views

Package unmet dependecies Perl-base Ubuntu 14.04 64 bit

i'm trying to sudo apt-get upgrade , but there is error. it happened when i try to install too. running sudo apt-get -f install here is the error return : dionajie@dionajie-Notebook:~$ sudo ...
0
votes
0answers
66 views

How to check if a switch is configured in 'ssh' or in 'telnet' using perl script provided the switch IP is available…?

In a perl script, when a switch IP is available, it is required to know if the switch is configured for 'ssh' or 'telnet' for continuing execution. How can this be done..? Please help it...
0
votes
0answers
456 views

Locale warning from Perl stops Postgres configuring

So I want to set up Postgres on a Microsoft Azure-server running Ubuntu 14.04. I need to make a cluster: user@mysystem:~$ pg_createcluster perl: warning: Setting locale failed. perl: warning: Please ...