in reply to Calculating the range between two numbers
The .. operator does exactly that,
I've avoided $a and $b as names since thay are sacred to sort.my ($c, $d) = (2, 8); my @range = $c .. $d;
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Calculating the range between two numbers
by Anonymous Monk on Jun 24, 2005 at 06:52 UTC |