in reply to Re: special characters storage in perl
in thread special characters storage in perl

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."
  • Comment on Re^2: special characters storage in perl