At 07:08 PM 8/3/01 -0500, Steven Shepard wrote: >i have the contents of a .txt file i am including into a textarea. each >address in the txt file is on a line of its own, but when it gets included >in the the textarea line one is fine, but every line after that has a >space after it. You mean before it. >indenting it one space to the right. how can i fix this? I'll bet you dollars to donuts that somewhere in the code generating this is an array in a string context, i.e., : " ... @lines ... " Two ways to fix this: either take @lines out of string context, provided that the string is already in a list context: " ... ", @lines, " ... Or temporarily change the character interpolated between array elements: { local $"; ... " ... @lines ... " } Or - three ways - use join: " ... " . join('', @lines) . " ... " and now you don't have to worry about whether the string was in a list context or not. -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]