in reply to cleaning up control characters
If you know that exactly the first two chars are hosed, a simpler faster method is:
email: mandog
see japhy's helpful rant here$line =substr($_,2);
email: mandog
In Section
Seekers of Perl Wisdom