chuleto1 has asked for the wisdom of the Perl Monks concerning the following question:

Fellow Monks,
I would like to know how to have the same functionality using DBI. Any suggestions?
ASP Code
Do while not rst.EOF rst1.MoveFirst Do while not rst1.EOF #blah blah Loop rst.MoveNext Loop
Perl Code
while ( @row = $sth3->fetchrow ) { #GO TO FIRST RECORD OF $sth2 while ( @row = $sth2->fetchrow ) { #blah blah } }
Many Thanks