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
1answer
327 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
1answer
116 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
167 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
1k 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
109 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 ...
2
votes
1answer
103 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: ...
0
votes
2answers
2k 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 ...
3
votes
1answer
239 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 ...
-1
votes
2answers
674 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?
2
votes
1answer
191 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: ...
0
votes
1answer
662 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 ...
2
votes
1answer
521 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
264 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
115 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
3k 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
77 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
64 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
572 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" ...
2
votes
1answer
2k 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
832 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
84 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
31 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
1k 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
199 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
2k 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
1k 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
15k 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
150 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, ...
4
votes
2answers
10k 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 ...
3
votes
1answer
1k 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
529 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
3k 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
195 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
13k 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
3k 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
75 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
199 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
442 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
922 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
233 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?
8
votes
5answers
70k 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
728 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
323 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
4k 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
531 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
2k 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.