The way I know how to do it at the moment is:
$sth = $dbh->prepare('select current_date()'); $sth->execute(); my ($current_date) = $sth->fetchrow_array(); $sth->finish();
Is there a function in DBI which would do the equivilant thing but like this:
my $current_date = $dbh->THEFUNCTION('select current_date()');
Is there an existing function like THEFUNCTION above in DBI? If not, what is the closest you can come? Am I missing something?
Cheers. -Andrew
In reply to Minimal DBI? by tomazos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |