require MySQL; my $mysql = new MySQL or croak "can't create MySQL Object"; my @sql_output = $mysql->get({ values => ('test1','test2'), table => 'test', where => "`type` = $id", });