Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?


by Maddingue (Sexton)
on Apr 11, 2001 at 23:53 UTC ( #71836=user: print w/replies, xml ) Need Help??

Short bio: I'm a sysadmin living in the South of France. I play with Perl since about 1994 but do more serious stuff with it since just a few years. Now I maintain about twenty CPAN modules, including two core modules.

Perl code coverage:
Maintainer of Net::Pcap, Sys::Syslog

Perl conferences: YAPC::Europe 2003, French Perl Workshop 2004 (speaker), YAPC::Europe 2004 (speaker), French Perl Workshop 2005 (organiser), YAPC::Europe 2005 (speaker), London Perl Workshop 2005, Nordic Perl Workshop 2006, YAPC::Europe 2006, French Perl Workshop 2006 (speaker)

Log In?

What's my password?
Create A New User
[afoken]: DBD::CSV has a csv_class attribute. You could subclass Text::CSV_XS to handle BOMs, e.g. through File::BOM.
[ELISHEVA]: Text::CSV_XS already can handle boms - see its detect_bom flag
[ELISHEVA]: but it seems that the DBD::CSV layer on top of it doesn't
[afoken]: Also: All other attributes that start with csv_ and are not described above will be passed to Text::CSV_XS (without the csv_ prefix).
[Discipulus]: what about a good 'ol SOPW?
[erix]: Giro d'Italia won by Dumoulin (peccato Nibali)
[ELISHEVA]: csv_detect_bom doesn't work either
[erix]: (SCNR)
[ELISHEVA]: I may have to resort to SOPW - but was hoping that this would be something simple
[erix]: I'd just remove the BOM, it is pretty simple

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-05-28 20:28 GMT
Find Nodes?
    Voting Booth?