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 ArticleYou 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 ArticleUse 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 Articleperl: 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 ArticleCPAN 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 ArticleListing 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 ArticleDecoding 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 ArticleInserting 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 ArticlePOSIX 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 ArticleUnable 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