in reply to Calculating the range between two numbers

The .. operator does exactly that,

my ($c, $d) = (2, 8); my @range = $c .. $d;
I've avoided $a and $b as names since thay are sacred to sort.

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
    Thanks!!,

    I really have to read up more on those type of operators!!