in reply to Printing a String (TOO stupid?)
If some strings do fishy things (like overwriting existing output, messing up your console etc.), a good way to debug that is this:
use Data::Dumper; $Data::Dumper::Useqq = 1; print Dumper $yourstring;
This will probably reveal a \r, which is a carriage return, which causes the console to go back to the start of the line, overwriting existing output.
In Section
Seekers of Perl Wisdom