in reply to Re: Re: space in front of lines
in thread space in front of lines
I think you misunderstood me. I'm not suggesting that you remove that line of code completely (obviously that's going to change the way your program works), just that if you ask Perl to join the lines separated by a space then you shouldn't be surprised if you get a space separating each lne :)
If (as it seems) you want to join the lines, but not get the space separating them, then ask Perl to join them with an empty string as the separator.
--$text = join('', @LINES);
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: space in front of lines
by wolverina (Beadle) on Nov 08, 2002 at 00:12 UTC |