for my $y ($year .. $year + 8) { # this is inclusive print "\n"; }