You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/local/bin/perl
|
|
|
|
# Create a list of the days of the week.
|
|
@days = qw (Monday Tuesday Wednesday Thursday Friday Saturday Sunday);
|
|
|
|
# Cycle through the loop, and print out the contents.
|
|
foreach $day (@days)
|
|
{
|
|
print "$day\n";
|
|
} |