Tuesday, September 18, 2007

Fast Way..

Need a fast way of getting rid of the second half of an array?
Simply divide $#array by two, where array is the name of the @array.
$#array /= 2;

No comments: