[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Newbee comments for macperl book



According to Fred&Thanh:
> 
> 2 -  If you split the above string  on newlines the blank is an element in
<snip>

You should be able to SPLICE out the offending element in the array.  Like so:

	if( length($theArray[$i]) < 1 ){
		splice( @theArray, $i, 1 );
		}


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch