Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 imbibing at the Monastery: (9)
As of 2015-07-06 08:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls