in reply to Minimal DBI?
This should work, though I haven't tested it: $current_date = $dbh->selectrow_array('select current_date()'); The DBI document mentions that this function will return the first field of the first row if called in scalar context, though I've never used it like that....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Minimal DBI?
by tomazos (Deacon) on Apr 11, 2002 at 18:42 UTC |