#!/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