Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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);

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 monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2017-11-22 11:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (319 votes). Check out past polls.

    Notices?