Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: print line not showing up

by thezip (Vicar)
on Oct 30, 2007 at 16:41 UTC ( #648055=note: print w/ replies, xml ) Need Help??


in reply to Re^2: print line not showing up
in thread print line not showing up

Per the Text::CSV_XS docs, by turning on "binary", it allows the parser to accept a wider range of characters. "To cover the widest range of parsing options, you will always want to set binary."

I just was not making any assumptions about the data that you are trying to parse.

Given that, I'd say your next step would be to isolate which specific lines are failing. You can do this by writing the good lines into one file, and if possible, the bad lines into another file. If you can't write the bad lines into another file, then you'll have to determine which lines are missing from the good file.

To aid in this process, you might prepend a unique index (source line # ?) to the beginning of each line.


Where do you want *them* to go today?


Comment on Re^3: print line not showing up

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2014-07-29 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (226 votes), past polls