Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I think use warnings; and use strict; would go a long way toward solving this for you. You call your arrayref $user sometimes, and some of those may be in the code. The last index of $users will be in $#$users, not $$#users. Observe, I'm not entirely sure what $$#users represents, but that explains your extra array elements. I'm leery of your hash keyed to surname. When you insert Minnie, Mickey will get clobbered. After Compline, In reply to Re: What way to weigh an AoA?
by Zaxo
|
|