in reply to simple column/row counter

This is what occurred to me:
@pics = (1..100); for($x=0;$x<@pics;$x++){ print "displaying pic number $pics[$x] \n"; if (($x+1) % 5 == 0){ # because zero mod 5 is zero too print "...and starting a new row.\n"; } }

--
($_='jjjuuusssttt annootthheer pppeeerrrlll haaaccckkeer')=~y/a-z//s;print;