Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

RE: RE: Re: script adding spaces into a file for no reason...

by JoeG (Initiate)
on May 20, 2000 at 01:24 UTC ( [id://13562]=note: print w/replies, xml ) Need Help??


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"; }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://13562]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-07-17 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.