I am working on some code to (IIS) do some sql paging, previous code was written in PHP, I have a line here that I am trying to translate to Perl, can't figure it out, may be someone will have the answer for me.
my $records = mysql_fetch_array(mysql_query("select count(*) as result
+s from database_table"));