in reply to range operators
This gives an array with elements 3,4,5,6,7,8.#! /bin/perl @ar=(3,8); push @new_array, ($ar[0] .. $ar[1]); foreach ( @new_array) { print "$_\n"; }
--
tbone1
Ain't enough 'O's in 'stoopid' to describe that guy.
- Dave "the King" Wilson
|
|---|