http://qs321.pair.com?node_id=336412

The Perl range operator '..' is often used to quickly fill in arrays like so: @arr = ( 1..9 );. Unfortunately that only works when the left argument is smaller than the right argument and you can only make an array with ascending values. But what if you want descending values?
@array = ( 7..1 ); # returns an empty array @array = map { $_ * -1 } ( -7..-1 ); # When generating the array you are technically going # up from a large negative to a small negative. # Then, you multiply each value by -1 and assign # to @array. Works like a charm.