Twitter hinted me to implement RFC7111. See syntax below. If no (serious) objections, I will make a new release soon.
1.03 - 2014-01-21
This, for now experimental, function tries to implement RFC7111
Fragment Identifiers for the text/csv Media Type) 1)
my $AoA = $csv->fragment ($io, $spec);
In specifications, "*" is used to specify the last item, a dash
to indicate a range. All indices are 1-based: the first row or
has index 1. Selections on row and column can be combined with
In cell-based selection, the comma (",") is used to pair row
The range operator using cells can be used to define top-left
bottom-right cell location
RFC7111 does not allow any combination of the three selection m
Passing an invalid fragment specification will croak and set er
1.02 - 2013-09-25
- Add example for reading only a single column
- Don't store NULL in _ERROR_INPUT (RT#86217/Clone)
- Prevent double-decode in csv-check
- Add decode_utf8 attribute (default is true)
1.01 - 2013-06-16
- Cache not re-read on getline_all (RT#86155)
Enjoy, Have FUN! H.Merijn
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||