The square symbol likely represents a carriage return. Windows and Unix do not like each other's carriage returns and sometimes when you cross information from one platform to another you get this funny square. You can get rid if it by:
s/\015//; or substitute it with a newline character s/\015/\n/; -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 2:06 PM To: beginners@perl.org Subject: square symbol at end of each line Hi, I have perl/tk application, where it fetches the data over the internet and displays it in a ROText widget. Everything works but in the output there is a square *like* symbol printed at the end of each line too. I can not copy and paste the symbol either. I donot understand if it is a perl or tk that I have to look for solution? Any ideas? as why it is happening and How to take care of it ? Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>