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

-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 ...
1
vote
1answer
675 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
532 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 ...
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
138 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
5k 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
552 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
324 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
1k 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
146 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
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.
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
188 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
372 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
930 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
91 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
209 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?
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 ...
1
vote
1answer
387 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
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 ...
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
339 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.
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 ...
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
1answer
456 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
490 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
6
votes
4answers
855 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
136 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
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 = ...