Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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?
[Corion]: Last year we renamed everybody with a name collision to "Alice". This year, we're renaming the remaining collisions to 'Bob' ;-)
[stevieb]: sigh... should have looked to see if version 2.36.1 was higher or lower than 2.36 when uploading to CPAN :/

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2017-01-19 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (170 votes). Check out past polls.