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

Re^2: Semicolon delimited to Comma delimited

by Tux (Canon)
on Apr 24, 2015 at 14:34 UTC ( [id://1124546]=note: print w/replies, xml ) Need Help??


in reply to Re: Semicolon delimited to Comma delimited
in thread Semicolon delimited to Comma delimited

Support for a single first line with just sep=; has just been added to Text::CSV_XS. It will be featured in the upcoming 1.17 release.


Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^3: Semicolon delimited to Comma delimited
by igelkott (Priest) on Apr 24, 2015 at 16:24 UTC

    Wow, that's a great response time!

    Perhaps obvious but may wish to support sep=, as well, for documents going the other way (and it's nice symmetry). Excel recognizes at least these two but not sure if it'll take anything else. (I guess it'd be a bit silly to make it too general.)

      The chosen implementation makes sep=XXX valid as long as XXX adheres to the current restrictions for sep_char. This implies IIRC a maximum length of 16 bytes, UTF-8 allowed.

      I have entered the long procedure for testing. Just keep a keen eye on your favorite CPAN mirror.

      For additional pleasure, the new version will have a say method too, so you don't need two object side by side: you can now use the same object for both reading and writing.


      Enjoy, Have FUN! H.Merijn
Re^3: Semicolon delimited to Comma delimited
by marinersk (Priest) on Apr 24, 2015 at 16:17 UTC
    My respect for you just keeps climbing, Tux. Bravo.
      If you would start posting useful content instead of blowing hot air we'd have more respect for you too.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-19 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found