I'm using RDBO in a Catalyst app, the latest versions of both.
I have not tested the following under other Cat engines, but with the dev
server, I find that I must call finish() when using get_objects_iterator(),
even
if I successfully iterate over all objects. Otherwise, I seem to get a memory
leak where the underlying Rose::DB object is never destroyed.
i.e.:
while(my $o = $i->next)
{
...
}
$i->finish; # must call this no matter what
It's not a big deal to have that extra line, but the RDBO Iterator pod suggests
that I don't need to unless I exit the while() loop early.
Pointers to flaws in my logic gratefully accepted,
pek
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rose-db-object