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

2
votes
1answer
268 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
162 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 ...
0
votes
1answer
80 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 ...
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 ...
1
vote
0answers
69 views

Where can I find Perl 5.12.1 on Ubuntu 11.04? [closed]

I have Ubuntu server (11.04) and by default Perl is 5.10.1. I have installed another Perl which I put at /opt/perl/bin/perl and its version is 5.12.1. When i try to run /opt/perl/bin/perl -v it says ...
0
votes
1answer
58 views

Perl Regex: negate character class gives unexpected results

Wondering if anyone else if having an issue with perl 5.14 on ubuntu 12.04 when it comes to negating a character class in Perl. Given the following small snippet while(<>) { print if ...
0
votes
1answer
422 views

Cannot install DBIx::Class::Loader in order to make Catalyst Model DBIC

I want to create model DBIC for Catalyst project with this command: myapp_create.pl model SomeDB DBIC dbi:SQLite:/tmp/my.db This command doesn't work since I haven't "Catalyst::Helper::Model::DBIC" ...
1
vote
1answer
1k views

Unable to install pecl extension for perl in Ubuntu Server 12.10

I need to call a perl script from my php file. I attempted to install the PECL extension for Perl. I was unsuccessful. I tried the following: pecl channel-update pear.php.net Updating channel ...
2
votes
1answer
672 views

Why doesn't Perl use latest version by default?

When I try to use new perl features (like "say" instead of "print") the code fails until I put in the line "use 5.014;" and then everything runs. My installed version of perl is 5.14.2, and it looks ...
1
vote
1answer
83 views

UbuntuOne API - Developing a Perl module to use it

I'm developing a Perl module to work with the UbuntuOne's API. 1) I'm able to retrieve the Name, Consumer key, Consumer Secret, Token and Token secret values using the basic HTTP authentication and ...
4
votes
1answer
1k 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: ...
1
vote
0answers
27 views

perl: warning: setting locale fail [duplicate]

Possible Duplicate: locale: Reset lost settings Everytime I try running a command I get this type of error Now I am trying sudo apt-get dist-upgrade Here is the output error I tried the ...
1
vote
1answer
668 views

How to run a Perl command?

If I am running the following command to replace a string dst_ with dst_addr_ in multiple files. perl -pi -w -e ’s/dst_/dst_addr_/g;’ *.tcl it shows the following error: Unrecognized character ...
1
vote
1answer
136 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
votes
1answer
2k 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 ...
1
vote
1answer
922 views

change cpan install directory

I have tried to setup cpan on my ubuntu 12.04 using: sudo cpan and it created a folder perl5 in my $HOME folder. I would like to use a different directory such as $HOME/.perl5 or somewhere in ...
4
votes
1answer
696 views

Rename - what does s// vs y// mean?

The man page (http://manpages.ubuntu.com/manpages/dapper/man1/prename.1.html) gives two examples: rename ’s/\.bak$//’ *.bak rename ’y/A-Z/a-z/’ * So it's either s or y and then ...
3
votes
1answer
7k 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
143 views

Different behavior when launched from terminal instead of Unity launcher

I have written two Perl/Gtk programs. When launched from the dash menu, they run just fine. However, if I try to launch them from terminal using the very same command found in their .desktop files, ...
3
votes
2answers
6k views

Installing libwww-perl on Ubuntu 12.04,SE

I have an Ubuntu 12.04 server edition which I ssh into. I am running Perl scripts on this server but it fails when I load 'use LWP::UserAgent;' with error message: Can't locate LWP/UserAgent.pm in ...
1
vote
1answer
714 views

How do I run asciiquarium in out-of-the-box ubuntu?

Asciiquarium is a perl script that requires Term::Animation. What are the appropriate hoops to jump through to get this cpan module into an ubuntu perl install? apt-cache search animation |grep -i ...
1
vote
1answer
366 views

Perl 5.12 on Ubuntu 10.10 [duplicate]

How can I use perl 5.12 on Ubuntu 10.10? There is no distribution package on Ubuntu. I have to use feature 'unicode_strings'; in my perl code, and this is available from 5.12. I try to install perl ...
3
votes
3answers
2k views

How can I use perl 5.12 in 10.10?

How can I use perl 5.12 in Ubuntu? There is no distribution package on Ubuntu. I have to use feature 'unicode_strings'; in my perl code, and this is available from 5.12. I try to install perl on ...
2
votes
2answers
159 views

How to add space to Exec path in a Thumbnailer descrption?

I wish to use mplayer to generate thumbnails for nautilus, so I wrote a perl script as the thumbnailer named "gnome_thumbnailer_with_mplayer", and wrote a description in /usr/share/thumbnailers to ...
2
votes
2answers
8k 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.
2
votes
2answers
8k views

E: Sub-process /usr/bin/dpkg returned an error code (1) seems to be choking on kde-runtime-data version issue

12.04 LTS, on a dell mini 10. Install stable until about a week ago. Updated about 1x a week, sometimes more often. Several days ago, I booted up and the system was no longer working correctly. All ...
1
vote
1answer
2k views

Error when installing CPAN modules

I Have install latest version of CPAN v1.9800 in my ubuntu 10.04. When i try to install any cpan module using perl -MCPAN -e shell;install GD::Graph, It's showing below issue. I can't find out ...
1
vote
1answer
64 views

Detect Ubuntu using perl

I am working on a perl script that must write configuration file. I need to know if the script is running on Ubuntu to set some Ubuntu-specific values (basically, disable the unified bar). The script ...
0
votes
1answer
190 views

How to programatically fetch the download status of Google Chrome?

How would I go about determining if Google Chrome is downloading something, and getting the "percent-done" value of that download, from the terminal using a Python, Perl, or Bash script?
1
vote
1answer
393 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 ...
0
votes
1answer
1k views

Couldn't load specified math lib(s) when using a script from CPAN

I'm using perl SSH module from CPAN. After executing the script, I get this error Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::Calc at ...
0
votes
2answers
93 views

Rename leaving trailing character

this one should be simple for anyone who knows the correct way to escape. I'm attempting to batch rename a few hundred files that had \u0026amp; pushed into the file names instead of and or &. I ...
1
vote
1answer
213 views

Can't start CPAN shell

When attempting to run CPAN I get: Can't use an undefined value as a symbol reference at /usr/share/perl/5.12/CPAN.pm line 508. What could be the problem?
4
votes
4answers
49k 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 ...
1
vote
1answer
472 views

Estimating compressed file size using a list parameter

I am currently compressing a list of files from a directory in the following format: tar -cvjf test_1.tar.gz -T test_1.lst --no-recursion The above command will compress only those files ...
3
votes
1answer
249 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 ...
0
votes
2answers
3k views

Perl Script Permissions

I'm having a few problems with running a Perl script. Every time I try to run it (its from a runescape launcher client), it give me the following message in terminal: Permission Denied How can i fix ...
0
votes
1answer
376 views

Installing fonts for a specific program

I have to install the following fonts on Ubuntu for a program to run: # Here starts the Tk part... #my $qfont=$tl->X11Font('-*-new century schoolbook-medium-r-*--40-*-*-*-*-*-iso8859-1'); #my ...
0
votes
3answers
1k views

What version of Perl is shipped with the Desktop Version of 11.10?

Kindly let me know if Perl Version 5.12.4 is included in the desktop version of Ubuntu 11.10 or does it have to be seperately downloaded? I have been to packages.ubuntu.com and found that Perl Version ...
1
vote
1answer
2k views

What perl version will be in 12.04 LTS

Pretty soon the new 12.04 version of ubuntu will be released. My question is what version of perl language will be in this distribution. And my second version where can this information be found.
2
votes
5answers
6k 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 ...
1
vote
2answers
5k 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
1answer
484 views

How to solve this error: There is no perl module on CPAN named [modulename]

I am trying to install bugzilla optional modules, but get this error: I tried using cpan Module::mod_perl2 but with no success as well. please advise
2
votes
1answer
513 views

How do I install Gournal?

I am trying to install Gournal and I can't because of a missing dependency which doesn't appear to be in natty? gournal : Depends: libgnome2-print-perl but it is not installable
7
votes
4answers
913 views

CPAN vs. APT: Conflicts in versions?

I can't find the answer to this anywhere: Does a module installed via APT conflict with one installed via CPAN? Along with that question are these: Where does the installed CPAN modules live? Are ...
2
votes
1answer
143 views

How can I programatically find out which CPAN modules relate to packaged modules?

I am trying to write an Juju formula for App::Alice, a web based IRC client. According to the the installation instructions I execute the following commands to snag Alice and all of it's dependencies ...
3
votes
2answers
1k views

Shell script to restart a process if it outputs a certain piece of text

I have a python program which, from time to time, crashes with a number of different exceptions usually due to network issues. The only way to get it to work is to restart it. How would I write a ...
2
votes
5answers
4k views

How do I setup sendmail, postfix, or dovecot so that perl can send emails?

Direct Question: I want to enable Perl to send emails. What package(s) should I install to setup a simplistic email server: no need for incoming, only outgoing. I can forward through gmail's SMTP if ...
11
votes
1answer
14k 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 = ...