And here's another way:#!/usr/bin/perl - w use strict; my @list = qw (first second third fourth fifth sixth + seventh eigth ninth tenth); print join ' ', reverse (@list);
#!/usr/bin/perl - w use strict; my @list = qw (first second third fourth fifth sixth + seventh eigth ninth tenth); my @reverse = reverse (@list); print "@reverse";
In reply to Re: A simple
by kilinrax
in thread A simple,
by Steampunk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |