Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: efficient Array printing to a file

by rjray (Chaplain)
on May 27, 2004 at 23:23 UTC ( [id://357091]=note: print w/replies, xml ) Need Help??


in reply to Re: efficient Array printing to a file
in thread efficient Array printing to a file

Unless he's altered $" elsewhere (and I doubt it, because if he were familiar with $" I believe he'd have answered his own question already), there's no need to set it. It defaults to a single space.

Also, there is no need to explicitly use $/, either. If he wants line-ending, he can just use "\n", which Does The Right Thing on non-UNIX platforms.

--rjray

  • Comment on Re: Re: efficient Array printing to a file

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-16 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found