Hi Steve,
if you have enough RAM you could use $stm -> fetchall_arrayref
to get all the rows at one shot and then print the first ten ones.
But I think that's not the best idea.
I would use two SQL statements:
(1) "select count(*) from table where ..."
(2) "select top 10 * from table where ..."
-Original Message-
> From: steve silvers [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 09, 2000 10:50 AM
> To: [EMAIL PROTECTED]
> Subject: DBI.pm question
>
>
> I have a quick question about what would be the best way to go about
> something.
>
> Im