in reply to Re: Why a reference, not a hash/array?
in thread Why a reference, not a hash/array?
When I do a "select * from foo where bar" using DBI, I first do something like $sth->execute() and then I do my while $sth->fetchrow_hashref(){}.
I guess I've never understood what those two steps mean. The first one gets all the matching data from the database into some temporary/intermediate place, and then the row code parses through it one row at a time? So, if I never need to use that pesky column with the 50KB of data in it, it never makes it into memory? So, where is it?
Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Why a reference, not a hash/array?
by Hercynium (Hermit) on Jul 07, 2007 at 04:19 UTC | |
Re^3: Why a reference, not a hash/array?
by doom (Deacon) on Jul 07, 2007 at 16:54 UTC | |
Re^3: Why a reference, not a hash/array?
by FloydATC (Deacon) on Jul 08, 2007 at 10:46 UTC |