Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: print last array element without a new line

by Lotus1 (Chaplain)
on Oct 19, 2011 at 20:16 UTC ( #932493=note: print w/ replies, xml ) Need Help??


in reply to print last array element without a new line

How about posting a few lines of the csv that are causing the problem. Also post what the program output looks like when it prints the extra newline.

Another option is to try Text::CSV. Maybe there is some special formatting in the csv file your program isn't handling.


Comment on Re: print last array element without a new line

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-12-27 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls