On 12/1/07, Eric Krause <[EMAIL PROTECTED]> wrote: > for ($n = 8; $n <=1; $n--) {
$n <= 1? Because using the three-part for loop can be error-prone, in Perl we more often use the foreach loop, which is easier to get right on the first try: foreach my $n (reverse 1..8) { ... } Hope this helps! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/