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
0answers
6 views

Buffer Overflow on pacpl

I have a file in my external HDD called a.mp4.. When I try the command: pacpl -v --bitrate 48 --to mp3 --outdir "/home/user/SoundCloud/output" "/media/user/MyPassport/a.mp4" I get the output/error: ...
1
vote
1answer
34 views

Add Prefix name in a file in Perl Script

I am trying to write a perl script to add the prefix name on the file (~100 files), but i am failed to get it done. Example case that what I means: abc.jpg change to NYear_abc.jpg def.jpg ...
0
votes
0answers
5 views

Bioperl percentage bar

I have the next perl script that convert fastq file to fasta file, and make a count of the sequences in the fasta file; I would like to add a percentage of advanced like a percentage bar or printing ...
2
votes
1answer
38 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 ...
0
votes
0answers
8 views

Run perl script from cgiperl

I am new to cgi per. I have perl script actually works. I like execute my perl script from cgiperl and print the out in web page. Any help? 1) take a text file as inout from webpage and put it in a ...
0
votes
0answers
18 views

Errors in Simple.pm when using debmirror

Hi since the update to utopic debmirror does not work any more due to errors in LockFile/Simple.pm. The error is: Use of uninitialized value $stamp in chop at /usr/share/perl5/LockFile/Simple.pm line ...
-1
votes
1answer
96 views

Resolve error while installation!

i am getting the following error while installing anyhthing: installArchives() failed: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = ...
1
vote
4answers
80 views

search for duplicate photos

I have photos, in folder A, they also exist, in folders B and C. They have the same filenames. How to search for them and delete them from folder A? A perl script or something would be ideal since I ...
1
vote
3answers
65 views

csv file adding and removing characters from rows [closed]

I have a big csv full that looks like so else if(a,b,c,d,e) else if(a,b,c,d,f) I want to make it look like so else if(a+x==b and b+x==c and c+x==d and d+x==e) else if(a+x==b and b+x==c and c+x==d ...
1
vote
1answer
142 views

Several perl packages (including cpan and re.pl) not working after upgrade from 12.04 to 14.04

Several perl packages stopped working after upgrade from 12.04 to 14.04. For example, cpan gives me: Attempt to reload Scalar/Util.pm aborted. Compilation failed in require at ...
1
vote
3answers
78 views

Replace a specific section of code

I don't know what could do this, sed, vim, whatever. Lets say I have 30 functions, to keep it simple, i'll show 3 #first function AddOne = [ a+1==b, b+1==c ] # second function ...
0
votes
2answers
173 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 ...
1
vote
2answers
78 views

Looping through csv, removing patterns

I have a question similar to my earlier question, but a bit different say you have 10 columns on each line, and 100000 lines, I want to check if each row for the following patterns: If a row looks ...
1
vote
2answers
576 views

Perl 5.20.1 for Ubuntu 14.04

How to update to the latest perl in ubuntu 14.04 x64? Ive tried via apt and and cpan alredy and core wont update.
3
votes
1answer
798 views

Ubuntu Upgrade, Perl Version Broke ZImbra

Kind of in a bind here, since I heard about the bash bugs last night I decided on upgrading all off my server, not just the packages but the complete OS, it worked fine on all my servers, except my ...
0
votes
0answers
76 views

CGI script seems to run but output file is not stdout but name of script file

I have the latest version of Ubuntu 14.04 installed on my laptop. I have installed the LAMP server via tasksel. I followed the instructions for Apache 2.4 from Apache's httpd.apache.org website on ...
1
vote
1answer
68 views

Apache configuration problems? Why Perl scripts can't be executed - browser download scripts

I've got wrong apache configuration. My script don't want to be executed and browser trying to download it as a file. <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName president.com ...
1
vote
0answers
39 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: ...
0
votes
1answer
110 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
0answers
22 views

how to detect the encoding of a file? [duplicate]

I have subtitles files, .srt i want a quick way to detect their encoding so i can tell devede what is their encoding so it can burn them correctly it would be nice to have a recursive script that ...
0
votes
1answer
458 views

Trying to remove apache2/httpd and installing mod_perl

It started with me trying to install Apache and mod_perl by following this guide. However, foolishly I installed Apache by using sudo apt-get install apache2, which installed 2.4 on my system. ...
0
votes
0answers
16 views

Install libperl-dev [duplicate]

I tried install sudo apt-get install libperl-dev but is not working. I have the message Unable to correct problems, you have held broken packages What can I do? Thanks
4
votes
3answers
361 views

Searching for patterns in csv files

I have file.csv that looks like this 4,6,18,23,26 5,12,19,29,31 2,5,13,16,30 9,10,24,27,32 4,5,10,19,22 4,6,8,10,25 2,3,4,25,11 I want to find some patterns and save them in another log file ...
0
votes
0answers
154 views

bugzilla in ubuntu 12.04 server

I am trying to install bugzilla on my Ubuntu 12.04 64 bit server machine. I am following these steps. The problem is that I am not able to find the localconfig file in the bugzilla folder or can I say ...
1
vote
0answers
181 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: ...
1
vote
2answers
431 views

How to run perl script in background

I am new user to ubuntu... Putting & and in the end is putting the application on background, but not really, it still gives me the output of the perl script in my command line even though it is ...
1
vote
1answer
166 views

Why does my program not execute a perl file

I have a perl file name make_html.pl which works on a module named API::PDF2 (link) I downloaded it installed it and I think I set the path wrong. my @INC has the values Built under linux Compiled ...
1
vote
1answer
473 views

Permission denied running perl

perl 5.18.2 was running fine on my Ubuntu 14.04 system until I needed a package from CPAN which did not exist as an Ubuntu package. I installed it as root and it didn't work but then the installation ...
0
votes
0answers
159 views

installing plperl in postgresql

I am trying to use the perl language in postgresql, thus I need to install plperl. I am running all of my queries in pgadmin III. When I first tried create extension plperl; I get the following ...
0
votes
1answer
181 views

Installing Authen::Simple::PAM module with cpan in ubuntu fails

I'm trying to install the Authen::Simple::PAM module using cpan from ubuntu terminal and i get an error as shown below (note other modules install perfectly) Checking if your kit is complete... Looks ...
0
votes
1answer
265 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 ...
2
votes
2answers
147 views

How to correctly invoke awk in Perl to print out the 3rd last field in a line?

My script is: #!/usr/bin/perl -w my $line="1 2 3 4 5 6 7"; print $line; my $thirdlast=`print $line |awk '{print $(NF-3)}'`; print $thirdlast; The output is: 1 2 3 4 5 6 7 awk: 0602-542 There is ...
3
votes
1answer
251 views

Get Quotes for stock prices in GnuCash using Finance::Quote

I have followed the instructions here, using the exact example, to have automatic stock price updates in GnuCash. When I click price editor -> Get Quotes it returns in a warning Unable to retrieve ...
2
votes
2answers
224 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
3answers
442 views

Pac ssh manager on Ubuntu 14.04 does not work

I am using Ubuntu 14.04. For ssh, I am using pac manger. It was working perfectly on Ubuntu 12.04 but after upgrading to 14.04 pac does not work. When I run it from the terminal it says: Can't locate ...
1
vote
1answer
1k views

Vim refuses to start with “error while loading shared libraries: libperl.so.5.14” after upgrade to Ubuntu 14.04

After I upgraded to Ubuntu 14.04 vim refuses to start, showing the following error: vim: error while loading shared libraries: libperl.so.5.14: cannot open shared object file: No such file or ...
0
votes
1answer
87 views

Perl hangs for regular users, works with sudo

I recently installed Ubuntu 14.04 LTS and for some reason the perl command just hangs when a regular user calls it. However, if I use sudo with it, it will work perfectly. I'm thinking the perl ...
5
votes
1answer
2k views

How to create Excel xlsx files from a script?

I'm looking for packages available in Ubuntu main/universe repositories (14.04) able to create Excel 2007+ xlsx files from a script (python3 or perl) My requirements: 100% compatible Excel XLSX ...
1
vote
3answers
100 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 ...
0
votes
0answers
44 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

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
85 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 ...
0
votes
1answer
50 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
2answers
658 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
124 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 ...
4
votes
1answer
3k 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
0answers
492 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
3k 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
vote
1answer
4k 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 ...
1
vote
3answers
1k 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 ...