Or maybe that last for loop can look like:#!/opt/perl5/bin/perl -w use strict; my @lines =(); for(<>) { push(@lines); } for(reverse(@lines)) { print; }
while(@lines) { print pop(@lines); }
In reply to Re: strict
by isotope
in thread strict
by snowrider
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |