create a new array with elements of another array
by kalai[ Edit ] 2008-11-27 16:54:44
#find size of the array to be copied to another array variable
$siz=scalar @arrayy;
#create new array @tmp by copying values from 0 to end of the array @arrayy
@tmp=@arrayy[0,$siz-1]; #now @tmp array contain same values as @arrayy