# --------------------------------------
# Apache/mod_perl startup file
# statements in here get executed once
# when the server starts. Most of this
# is taken from the mod_perl 1.0 guide:
#
# http://perl.apache.org/docs/1.0/guide/config.html#The_Startup_File
# --------------------------------------

# just do it
use strict;

# When adding a new application, add its lib here!
use lib '/app/tools/common/lib';
use lib '/app/tools/raptor/lib';
use lib '/app/tools/user/lib';
use lib '/app/tools/rps/lib';

# sanity check
$ENV{MOD_PERL} or die "not running under mod_perl!";

# Tell me more about warnings
use Carp ();
$SIG{__WARN__} = \&Carp::cluck;

# Common things
# use Apache::DBI ();
# use DBI ();
# $Apache::DBI::DEBUG = 2;

# the one you all know and love...
use CGI ();
CGI->compile(':all');

###
1;    # Play nicely.
###
