Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 scrutinizing the Monastery: (7)
As of 2016-08-30 08:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (414 votes). Check out past polls.