Help for this page
#! perl use strict; ... printf "You have infected %d %s: ", $answerinfect, ($answerinfect == 1) ? 'person' : ' +people'; print join(', ', sort map { $_->{name} } grep { $_->{status} == SICK } + @pop);
How many random infections? (Enter a number between 1 and 4): 2 ... } ]; You have infected 2 people: Barney, Betty