Introduction to Ajax, Ajax how-to
Tag Archives: Perl
Perl: Installing DBD::Oracle + Oracle Instant Client on Ubuntu 9.04
Easy to follow steps on how to install DBD::Oracle using Oracle Instant Client on Ubuntu 9.04
Recursion with Perl and CDS
Recursion on Perl Complex Data Structures made easy.
Perl and MQSeries for the faint of heart
Simple module for MQSeries communication using Perl
Perl Crash Course: Pragmas, Perl Modules, and CPAN
About Perl Pragmas, Modules, and CPAN – the Comprehensive Perl Archive Network.
Perl Crash Course: Control Structures
Basics on Perl control structures
Perl Crash Course: Subroutines
Introduction
Subroutines are user-created functions that execute a block of code at any given place in your program. It is a best practice, however, to aggregate them all either at the beginning or the end the main program.
Subroutine declarations initiate with the key word “sub” . Conventionally, subroutine names are all lowercase characters
sub NAME (PROTOTYPE) BLOCK
print_hello; # subroutine can be executed/called before the actual block is created
sub print_hello {
print "Hello world\n";
}
When we called print_hello we told Perl that we wanted the piece of code named print_hello to be executed. The result is a “Hello World” showing up on our screen. The only benefit we have from that snippet in its current form is that we won’t have to copy/paste the print statement all over our script if we want to repeat it. All we need to do is call print_hello;
Continue reading
Perl Crash Course: Gettin’ jiggy wit it
Built in Perl functions for Scalars, Arrays, and Hashes
Perl: Installing MQSeries CPAN module on Windows XP
How to easily install CPAN’s MQSeries under Windows XP.
Perl: Connecting to an Oracle database WITHOUT having an installed client
Using Perl to connect to a DB without having Oracle Client installed.