Something I just thought of.. these oodles of "some string" x $repetition look rather ugly. Maybe you would profit from learning about Perl's format support? It lets you write report generation routines in a visually oriented way.
Makeshifts last the longest.
Comment on Re^3: Is it there, or is it not?? Quirkiness with error handling.