in reply to Perlish way of doing this

print "AA,##,##,DD,EE,##\nAA,BB,CC,##,##,FF\n";

Could not resist. This is the most perlish way of accomplishing a task which should be derived from the code.

--kap