If all you want is a specific row from the database you can do something like this:
my $sth=$dbh->prepare("SELECT * FROM my_table WHERE primary_key = ?");
$sth->execute(4);
my @record = $sth->fetchrow();
It's really no big deal, and doesn't require any freaky LIMIT or anything like that. Of course, this assumes that your SELECT will only return one row (which it will, if you're SELECTing from a Primary Key).
Update:Whoops. Misunderstood what the poster wanted. Ah well... hakkr's post has what you want.
Gary Blackburn
Trained Killer