##
if (3 == @wishes) {
print "The genie has granted all of your wishes\n";
}
####
my $days_per_year = 365; # In case the number of days in a year changes ;-)
...
if (@calendar < $days_per_year) {
warn "Hold on, Cinderella -- you're calendar isn't full yet.\n";
}