Your line push @nulogins, @login; is pushing each element of @login into @newlogins. I think you mean to push a reference to the entire @login array into the @newlogins list. push @newlogins, \@login. See perlref.
--MidLifeXis
In reply to Re: getting unique AOH from nonunique AOH ... or hash if it is better approach
by MidLifeXis
in thread getting unique AOH from nonunique AOH ... or hash if it is better approach
by hiyall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |