in reply to range operators

I think the problem is the double quotes, try using parentheses instead, like this.

#! /bin/perl @ar=(3,8); push @new_array, ($ar[0] .. $ar[1]); foreach ( @new_array) { print "$_\n"; }
This gives an array with elements 3,4,5,6,7,8.

--
tbone1
Ain't enough 'O's in 'stoopid' to describe that guy.
- Dave "the King" Wilson