use DBI;
use Data::Dumper;
-
+use Time::HiRes;
use Maasha::Common;
use vars qw( @ISA @EXPORT );
# Returns a list.
my ( $sth, $table, $errstr, @status );
-
if ( not $sth = $dbh->prepare( $sql ) )
{
$errstr = $DBI::errstr;
disconnect( $dbh );
die qq(ERROR: $errstr, "SQL EXECUTE ERROR" );
}
-
+
if ( $table = $sth->fetchall_arrayref( $out ) )
{
return wantarray ? @{ $table } : $table;