in reply to DBI detector?
eval "require DBI"; my $dbi_ok = $@ ? 0 : 1; if( $dbi_ok ){ # do DBI stuff here }else{ print "NO DBI\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI detector?
by jcpunk (Friar) on Apr 03, 2006 at 20:56 UTC | |
|
Re^2: DBI detector?
by ikegami (Patriarch) on Apr 03, 2006 at 21:19 UTC | |
by davidrw (Prior) on Apr 04, 2006 at 00:30 UTC | |
by ikegami (Patriarch) on Apr 04, 2006 at 05:21 UTC |