Syntactic Confectionery Delight | |
PerlMonks |
Re: statistics of a large textby toolic (Bishop) |
on Jan 26, 2011 at 14:09 UTC ( [id://884351]=note: print w/replies, xml ) | Need Help?? |
This is no way addresses your question about optimization, but you could take advantage of Slices to reduce some of your code. For example, replace:
with: The double quotes around the array slice also insert a single space between array elements ($").
In Section
Seekers of Perl Wisdom
|
|