|more useful options|
Re^3: Hash of arraysby NetWallah (Canon)
|on Dec 28, 2012 at 07:53 UTC||Need Help??|
As others have suggested, please post the code where you do the "push", and the "print".
I re-read your statement:
I am pushing a user name and an array of AD groups for that user name into a hash of arraysSo -it sounds like you are pushing both the NAME and the GROUP into the hash value.
This is in addition to the name being in the Key.
If this is the case, it would indeed explain the name coming out twice, since you (or at least my posted code) prints the key and value.
Anyway - this discussion would be a lot less abstract and hypothetical, if you posted your actual code.
"By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest." -Confucius