programming-examples/perl/Array/Months Of The Year.pl

6 lines
167 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!/usr/bin/perl
use warnings;
use strict;
my $month = 3;
print qw(January February March April May June July August September October November December)[$month];