Quantcast
Channel: Linuxindetails's Blog » Perl
Browsing all 12 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Renaming files using Perl command rename

I have been using this command for a while now and it helped very much.The command rename is available in perl package. This is a core package brought by the Debian installer.To check the availability...

View Article



Image may be NSFW.
Clik here to view.

Creating a Debian package from a Perl module

The most used Perl modules are available as Debian packages. However,  Debian does not always provide the latest version we need and not all the existing CPAN modules are available. At CPAN, we can...

View Article

Image may be NSFW.
Clik here to view.

Manual installation of DBD::Oracle Perl module on Debian Squeeze

The module DBD::Oracle can not be installed with apt-get despite that libdbd-oracle-perl is available in the Debian repositories. This package requires an Oracle client which is not available by...

View Article

Image may be NSFW.
Clik here to view.

You need to install the perl-doc package to use this program.

If you get the following message : “You need to install the perl-doc package to use this program.”, install the official Perl documentation.Debian provides two packages : perl-doc and perl-doc-html To...

View Article

Image may be NSFW.
Clik here to view.

Use of uninitialized value $text in concatenation (.) or string at...

Migrating from Squeeze to Wheezy, if you have this error while running dpkg-reconfigure -a for instance : Use of uninitialized value $text in concatenation (.) or string at...

View Article


Image may be NSFW.
Clik here to view.

perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG...

After a fresh install of cygwin, you may have some trouble with your locale settings. For instance, while running cpan -l to look for installed Perl modules, I had this error message :...

View Article

Image may be NSFW.
Clik here to view.

CPAN and the Debian Perl Policy

Perl is famous for its tremendous number of modules ready to use. They can be fetched and installed from the Comprehensive Perl Archive Network (CPAN) One of the best way to add new modules into your...

View Article

Image may be NSFW.
Clik here to view.

Listing core modules bundled with a given version of Perl

Either the Module::CoreList or the command line utility corelist can help you list all the core modules bundled with a given version of Perl. To know your current running version of Perl : perl -e...

View Article


Image may be NSFW.
Clik here to view.

Decoding base64 encoded files attached to mail

To decode base64 encoded files attached to mail, there are several tools available. base64 is a command-line utility tool. To decode it : fool@localhost:~$ base64 -di < input_file where -d :...

View Article


Image may be NSFW.
Clik here to view.

Inserting a bunch of lines for any new file in vim

To avoid typing the same lines each time you open up a new file in vim, here is a little trick to do it. Let’s have a try with a simple perl template. fool@localhost:~$ mkdir .vim...

View Article

Image may be NSFW.
Clik here to view.

POSIX date format in Perl

To make a Perl script portable is to avoid using system commands as much as possible. To deal with date formats actions, you’d better use DateTime or Date::Calc modules. For a simple formatting of the...

View Article

Image may be NSFW.
Clik here to view.

Unable to locate an oracle.mk or other suitable *.mk (DBD::Oracle Perl module...

To install a working Perl environment to manage remote Oracle databases, you need to install the Oracle Instant Client To install the Oracle Instant Client version 11.2.3.0 64 bits, download the rpm...

View Article
Browsing all 12 articles
Browse latest View live




Latest Images