Counting White Spaces in perl
I am trying to count the no. of blanks that appear and then break out of the loop when all arrays' last elements are blanks/spaces. I think sprintf will do it but I can't figure it out: printf DGSUM++\n; for $sr(1 ..9)
Re: Counting White Spaces in perl
I'll take a whack at this: At 08:19 11.22.2001 +0800, Harry Varvarigos wrote: I am trying to count the no. of blanks that appear and then break out of the loop when all arrays' last elements are blanks/spaces. I think sprintf will do it but I can't figure it out: printf DGSUM