in reply to Re: hangman question
in thread hangman question

There is at least one case where the construct
$guesses[@guesses]=$guess;
makes sense, which is when you want the new element to autovivify. You can say
$guesses[@guesses]->{ key} = 'value';
to create a hashref in the new place. With push() you'll have to create the hash yourself.

Anno