good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: special characters storage in perlby dreadpiratepeter (Priest) |
on Aug 05, 2009 at 13:29 UTC ( [id://786109]=note: print w/replies, xml ) | Need Help?? |
look at the return in the inner loop. I think the logic is what he intended. I theorize that his data looks like:
username row num questions row username row num questions row username row num questions row ...and that he is calling the function multiple times to get all his users (although I have no idea how he knows when to stop). he probably (shutter) has a loop around the function that tests $index < @records. -pete "Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."
In Section
Seekers of Perl Wisdom
|
|