Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-09-16 16:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (34 votes), past polls