Hi all! I have some simple scripts, on my web server. Each of them have to do some tasks with database, so the first what I do in the handler is:
my $database_connect = DBI->connect( 'dbi:Pg:dbname=$database;host=$host, $user, $password ) || die "Can't connect to database: ".$DBI::errstr; As I understand, I may write a handler, which would have such code, and then use pnotes to export $database_connect variable to other handlers. Could anyone give me any example of such tasks ? Best regards, Vladimir S. Tikhonjuk