Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: efficient Array printing to a file

by rjray (Chaplain)
on May 27, 2004 at 23:23 UTC ( #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? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2022-05-25 20:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (90 votes). Check out past polls.

    Notices?