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....
In reply to Re: Minimal DBI?
by VSarkiss
in thread Minimal DBI?
by tomazos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |