print "Rows = ".$num_rows."\n"; foreach $info (@usr_info) { print "Info = ".$info."\n"; } /code>
I got the following output:
Row = Info = user A ... (to 6) Info = 1