Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
This works perfect#! /soft/perl5/bin/perl require DBI; $dbh = DBI->connect( "dbi:Oracle:", "v3fadm", "v3fadm", { RaiseError => 1, AutoCommit => 0 } ); $dbh->disconnect;
The only difference is the sleep 1000 at the end of the script. If there were some other statements which take some time, it would do the same. The sleep 1000 seems to be some kind of work-around, at least keeps the manager from kicking my butt, but is somewhat unsatisfying.#! /soft/perl5/bin/perl require DBI; $dbh = DBI->connect( "dbi:Oracle:", "v3fadm", "v3fadm", { RaiseError => 1, AutoCommit => 0 } ); $dbh->disconnect; sleep 1000;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: core dump after DBI-disconnect
by OM_Zen (Scribe) on Jan 28, 2003 at 18:35 UTC | |
|
Re: core dump after DBI-disconnect
by hardburn (Abbot) on Jan 28, 2003 at 17:11 UTC | |
|
Re: core dump after DBI-disconnect
by Anonymous Monk on Jan 28, 2003 at 19:06 UTC | |
|
Re: core dump after DBI-disconnect
by iguanodon (Priest) on Jan 28, 2003 at 18:25 UTC | |
|
Re: core dump after DBI-disconnect
by Anonymous Monk on Jan 31, 2003 at 15:15 UTC |