Category Archives: Perl

perl scripts, snippets

Extending perl include directory

http://stackoverflow.com/questions/841785/how-do-i-include-a-perl-module-thats-in-a-different-directory http://www.perlhowto.com/extending_the_library_path http://www.rocketaware.com/perl/perlfaq8/How_do_I_add_a_directory_to_my_i.htm

Posted in Perl | Tagged | Leave a comment

cpan cheat sheet

Installing modules from CPAN if you know the name of the module, you can install it directly without interacting with the CPAN shell Within the CPAN shell will search for a Perl module containing expression, and will install the module. … Continue reading

Posted in Perl | Tagged | Leave a comment

Connecting to Oracle from perl

Installing DBI module for connecting to Oracle database Install DBI module with dependencies Once DBI is installed – install DBD::Oracle Connecting to Oracle from perl According to DBI Documentation here it’s possible to connect to the Oracle Database without having … Continue reading

Posted in Oracle, Perl | Leave a comment

CPAN for non root user

Below is inspired by Installing Perl Modules as a Non-Root User Modify your .profile file Create directories During cpan initial configuration when asked for extra arguments enter

Posted in Perl | Tagged | Leave a comment

CPAN on Solaris

This was a very useful link for me OpenSolaris: How to Build CPAN Perl Modules with GCC Instead of the Sun Compiler But code taken from the above link seems to be missing one extra argument that gcc doesn’t understand … Continue reading

Posted in Perl, Solaris | Tagged | Leave a comment