Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Writing to text file

by Your Mother (Bishop)
on Feb 09, 2018 at 06:58 UTC ( #1208776=note: print w/replies, xml ) Need Help??


in reply to Re: Writing to text file
in thread Writing to text file

Code that compiles? When did this era end? For the benefit of posterity I must point out it's naïve and broken; handling quoting properly is not really a trivial problem–

print quoted('"quoted"'), $/;

And immediate if is a very un-Perly name for the ternary operator.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1208776]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2018-05-21 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?