Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: DBI AoArefs dereference

by pajout (Curate)
on Jun 14, 2010 at 07:46 UTC ( #844537=note: print w/ replies, xml ) Need Help??


in reply to DBI AoArefs dereference

If you can change sql query, add "LIMIT = 10" clause (it is, in my opinion, best for performance), otherwise you can use

my $AoA = $dbh->selectall_arrayref($sql, {MaxRows=>10}, @sqlparams);


Comment on Re: DBI AoArefs dereference
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://844537]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2015-07-31 01:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls