my @range = 1..10; for my $x (@range) { print "$x\n"; } [download]
In reply to Re: Specifying a range through a variable by dragonchild in thread Specifying a range through a variable by Zubinix