> #!/usr/bin/perl
> 
> use strict;
> 
> # Extend @INC if needed
> use lib qw(/dir/foo /dir/bar);

# ok, setup the Oracle and (optionally) the debug DBI environment
BEGIN {
    $ENV{'ORACLE_HOME'}='/highway/to/orac/hell';
    $ENV{DBI_TRACE}="3=/var/tmp/dbitrace.log";
}

> 
> # Make sure we are in a sane environment.
> $ENV{MOD_PERL} or die "not running under mod_perl!";

ciao

--
Salon Internet                          http://www.salon.com/
  Manager, Software and Systems "Livin' La Vida Unix!"
Ian Kallen <[EMAIL PROTECTED]> / AIM: iankallen / Fax: (415) 354-3326 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to