SPUG: re-size array

Luis Medrano lmzaldivar at mac.com
Mon Oct 11 12:10:28 CDT 2004


List,

I need your help. Any body know what is the best way to re-size array. For example:

@array=(1,2,3,4,5,6,7,8,9,10);

I need to remove 1,3,5,7,9 and I need to re-size @array to:

@array=(2,4,6,8,10);

the array I need to re-size or re-defined has 166771 elements. I really appreciate all your help.

Thanks,
Luis




More information about the spug-list mailing list