in reply to RE: Re: script adding spaces into a file for no reason...
in thread script adding spaces into a file for no reason...

I tried reading the source .. and used that code-- it runs w/o errors, but unfortunately didn't fix..
I used:
print "<textarea>" . join ( "", @text ) ."</textarea>\n" ;
hmm.. this is really strange. any other ideas?>

Joe

Replies are listed 'Best First'.
RE: RE: RE: Re: script adding spaces into a file for no reason...
by takshaka (Friar) on May 20, 2000 at 07:19 UTC
    I'm not sure what the problem is, but I'll add a couple of ways to interpolate an array without spaces...
    print "<textarea>", @text, "</textarea>\n"; # (unless you've redefined $,)

    ...or...

    { local $"; print "<textarea>@text</textarea>\n"; }