Comments (2)
Text::CSV::StandardHeader is probably a better name for this, as that would cover reading from a scalar ref as well. And $csv->header($fh) is probably a better shorthand in line 3.
from text-csv.
Basically, Text::CSV is just a wrapper of Text::CSV_XS, and we won't add anything until Text::CSV_XS adds it.
I don't particularly think your proposed method fits Text::CSV(_XS) well because Text::CSV(_XS) has a more convenient csv
function (see esp. https://github.com/Tux/Text-CSV_XS/blob/master/CSV_XS.pm#L3417-L3423), but if you really need more discussion, could you start it there?
from text-csv.
Related Issues (20)
- module() (and is_xs()/is_pp()) don't work HOT 1
- 'csv' function missing from SYNOPSIS HOT 1
- Mention auto_diag => 1 is incompatible with strict => 1 HOT 2
- CR in CSV gives me an error HOT 1
- Text::CSV_PP can't say a field when it contains new line.
- Is there an option not to add eol after last row ? HOT 1
- Q: Is there an option to turn off escape char if whole string is not quoted? HOT 1
- Small inconsistency or, at least, ambigious. HOT 5
- some csv function "Alternative invocations" examples do not work HOT 2
- Offer option to not put empty columns into hashes created HOT 4
- Mention missing final step in getting header order back
- Show how to make a hash for the Object interface
- Usage example in error message incomplete. Just warn about undef instead.
- Text::CSV man page should mention something about comments HOT 4
- Man page: also mention how to read from a a string HOT 1
- bind_columns changes input to after_parse callback
- Misleading error message (INI - the header is empty)
- BOM without a header line. HOT 1
- FR: Reading multiple CSVs from a single file HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from text-csv.