$n+=3-length($_)%4 for<>=~/(.*?)[A-Z]/g;print$n-3 [download]
In reply to Re^2: Code Shortening (golf) by Young Monk in thread Code Shortening (golf) [RESOLVED] by Young Monk