Just another Perl shrine | |
PerlMonks |
Re: Array Element Deletionby rpike (Scribe) |
on Dec 04, 2008 at 21:14 UTC ( [id://728103]=note: print w/replies, xml ) | Need Help?? |
I'll put it this way then.
I have a hash whereby it has a key for each date in a range. Each date could have multiple people assigned. So I might have a hash entry like this :
I want to randomly select one of the elements in the array assigned to the hash entry DEC012008 and then remove it from that array so, if I come back to that date, I don't reselect a person that was already selected.
In Section
Seekers of Perl Wisdom
|
|