Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: print last array element without a new line

by Lotus1 (Deacon)
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 pondering the Monastery: (11)
As of 2016-09-27 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (510 votes). Check out past polls.