in reply to Just want to print "userName"

You don't need to loop through the hash in the second loop. Try this:
for $i (0 .. $#curusers){ print "$i:userName is $curusers[$i]{userName}\n"; }
This is one of a few issues I see. Maybe seeing the code for ars_GetListUser() would give us a litte more insite.

Update:Fixed wrong answer. I'm just not thinking.

- Tom