So I could parse the start and end of range into variables. Cool. Thanks.my $a = 1; my $b = 10; my @range = $a .. $b; for my $x (@range) { print "$x\n"; }
In reply to Re^4: Specifying a range through a variable
by Zubinix
in thread Specifying a range through a variable
by Zubinix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |