Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^6: line ending problem Text::CSV alternative Text::ParseWords?

by GertMT (Friar)
on Oct 06, 2009 at 13:01 UTC ( #799474=note: print w/ replies, xml ) Need Help??


in reply to Re^5: line ending problem Text::CSV alternative Text::ParseWords?
in thread line ending problem Text::CSV alternative Text::ParseWords?

this only changes....

I mean that when I open data.csv and then hit the Save button and close the file and run the script everything works fine and I see the expected output.

Tried you second suggestion and this kind of works! The expected output is visible in <>.

Update

The information I see on the screen looks structured. However a more structured way would be even better. I'm having a hard time finding out where to put my print "$id\t$brand\t$color\n"; statement as to have it print this for all records and not only the first line. Thought when I would do it before the closing bracket it would be in the loop? However I must me overlooking something.


Comment on Re^6: line ending problem Text::CSV alternative Text::ParseWords?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (16)
As of 2014-08-29 16:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (281 votes), past polls