Data::...adsheet(3pm)
π Data::TableReader::Decoder::Spreadsheet β the manual, but make it cute π
okay bestie, so this is a perl manual page, section 3pm, from User Contributed Perl Documentation, and the module is Data::TableReader::Decoder::Spreadsheet. Yes, the title got chopped to Data::...adsheet(3pm) up in the header, but we both know what it really is. π
β¨ NAME β¨
Data::TableReader::Decoder::Spreadsheet β it's the base class for implementing spreadsheet decoders. literally the blueprint, the mother of all spreadsheet-reading children. π
πΈ VERSION πΈ
version 0.021 β that's the one, bestie, that's the version. π
π¦ DESCRIPTION π¦
So here's the vibe: this is a base class for any file format that exposes a spreadsheet API compatible with Spreadsheet::ParseExcel. That's it, that's the whole assignment. If your thing acts like Spreadsheet::ParseExcel, it can hang out here. π«Ά
π ATTRIBUTES π
fr fr, before you look at these, go peek at the attributes from the parent class: Data::TableReader::Decoder. The family tree matters, iykyk. π³
π workbook
This is an instance of Spreadsheet::ParseExcel, Spreadsheet::ParseXLSX, or Spreadsheet::XLSX β and the gag is that all three happen to have the same API. iconic coincidence, no cap. β¨
Subclasses can lazy-build this from the file_handle. Not me procrastinating until someone actually asks for it π β but yes, lazy. Delulu? No. Efficient.
π sheet
This one is flexible in the most main-character way. It's either:
- a sheet name,
- a regex for matching a sheet name, or
- a parser's worksheet object.
And she's also optional β if you don't set it, all sheets will be iterated. All of them. Every single one. go off, queen π
π xls_formatter
An optional object that gets passed to the Excel parsers Spreadsheet::ParseXLSX and Spreadsheet::ParseExcel. It governs how raw data in cells is formatted into values, depending on the type of the cell. π
The parsers create one of their own if none is provided β usually Spreadsheet::ParseExcel::FmtDefault. so if you show up empty-handed, they got you, bestie. π«Ά
β οΈ not me warning you: note that it does not work forSpreadsheet::XLSX, which hardcodes the formatter asSpreadsheet::XLSX::Fmt2007. So like, that one's not listening to you. periodt. π
π AUTHOR π
Michael Conrad <mike@nrdvana.net> β shoutout to the author, the moment, the legend. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2024 by Michael Conrad.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay. free software ate and left no crumbs. π
aaaand that's the whole page, bestie!! π§ this was generated with perl v5.38.2, dated 2024-06-21, and the manual page itself is Data::...adsheet(3pm). mwah, love u, go decode some spreadsheets πβ¨πΈ
π¦ where this page comes from
- debian trixie: libdata-tablereader-perl 0.021-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdata-tablereader-perl 0.021-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdata-tablereader-perl 0.021-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms