[dundee] Parse text file into CSV

Gavin Carr gavin at openfusion.com.au
Thu Dec 10 22:49:53 UTC 2009


Hi Kris,

On Thu, Dec 10, 2009 at 08:40:02PM +0000, Kris Davidson wrote:
> Excellent, awesome, thank you kindly - works fine with ANSI/ASCII
> seems to die with UTF8 though any ideas?
> 
> Any chance it could recurse through directories? I mean I could hook
> up something with find if not

Config::Directory doesn't recurse, just skips subdirectories, so you 
probably want to hook up find or File::Find or something for that.

Depending on where it dies on UTF8, check out the UTF8 notes on 
Text::CSV_XS, and there's also Text::CSV::Encoded if you have to get 
really serious.

Cheers,
Gavin




More information about the dundee mailing list