paperlined.org
apps > oracle > DBD::Oracle
document updated 14 years ago, on Dec 18, 2009
Even if your environment is limited, it's still likely that the full Oracle suite is installed locally. And, wonder of wonders, the Oracle installer includes both Perl and DBD::Oracle. To use them on AIX, I use:
#!/bin/ksh
export LIBPATH=$ORACLE_HOME/lib32:$LIBPATH PERL5LIB=$ORACLE_HOME/perl/lib:$ORACLE_HOME/perl/lib/site_perl
exec $ORACLE_HOME/perl/bin/perl -x "$0" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"; exit
#!perl

    use DBI;

my $dbh = DBI->connect("dbi:Oracle:", $username, $password);

print "Hello world.\n";

This is just a compressed version of $ORACLE_HOME/bin/asmcmd. If you want the complete version, you may wish to look a that instead