On Thu, 13 Sep 2001, DJ (David J Radunz) wrote:
> use strict;
> use vars ($dbh);
You don't need this with Apache::DBI. Globals in general should be
avoided/used with extreme caution.
> use mod_perl;
Don't need this either.
> 1;
> END {
> $dbh->disconnect;
> }
Put this before the '1;' or just don't use it.
Read the guide front to back: http://perl.apache.org/guide/
HTH.
Jeff
--
Jeff Beard
_______________________________________
Web: www.cyberxape.com
Email: jeff at cyberxape dot com
Earth: Boulder, CO, USA