Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: DBI::CSV usage

by andyford (Curate)
on Oct 27, 2007 at 15:42 UTC ( #647588=note: print w/ replies, xml ) Need Help??


in reply to DBI::CSV usage

In general, yes. But, given that different applications and people may have varying levels of strictness about their CSV-ish-ness, I would do some testing before I commit to automating in production or something like that. Even after that, you should try to think of some (all?) of the ways that the creator of the CSV file can screw up the format and try to detect them.

non-Perl: Andy Ford


Comment on Re: DBI::CSV usage
Re^2: DBI::CSV usage
by jZed (Prior) on Oct 27, 2007 at 15:54 UTC
    Usually DBD::CSV will die if it can't parse something, so using standard DBI error-trapping procedures in your DBI code should warn you about the kinds of problems AndyFord mentions.

    and wrt non-Perl AndyFord - nice!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2014-12-20 04:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls