Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Writing to text file

by roboticus (Chancellor)
on Dec 14, 2010 at 13:59 UTC ( [id://877076]=note: print w/replies, xml ) Need Help??


in reply to Writing to text file

annem_jyothsna:

The "" occur because you put them there: print FH "\"$sdrposttax\","; Inside double-quotes, \" means to place a quote inside the string. So "" simply means that $sdrposttax is an empty string (or undef), so you get adjacent quotes.

Also, you should wrap your code and/or data in code tags <c>your code goes here</c> to make it easier to read. Otherwise, many people will simply ignore your post, as it can be annoying to have to decipher your post in order to give you help. Remember: When you're asking for help, it's in your own best interest to make it easy and convenient for us to help you. Offer us more information rather than less. Format it nicely.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (8)
As of 2024-04-19 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found