{"id":19732915,"url":"https://github.com/mboljen/spreadsheet-read-simple-perl","last_synced_at":"2026-05-15T19:32:09.889Z","repository":{"id":185389003,"uuid":"335211892","full_name":"mboljen/spreadsheet-read-simple-perl","owner":"mboljen","description":"Perl module for simple parsing of spreadsheets","archived":false,"fork":false,"pushed_at":"2024-06-22T19:58:13.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T04:00:44.310Z","etag":null,"topics":["parser","perl-module","spreadsheet"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mboljen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-02T08:00:30.000Z","updated_at":"2024-06-22T19:58:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"5302b94d-4434-44d8-862f-4834f22504ff","html_url":"https://github.com/mboljen/spreadsheet-read-simple-perl","commit_stats":null,"previous_names":["mboljen/spreadsheet-read-simple-perl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mboljen/spreadsheet-read-simple-perl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mboljen%2Fspreadsheet-read-simple-perl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mboljen%2Fspreadsheet-read-simple-perl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mboljen%2Fspreadsheet-read-simple-perl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mboljen%2Fspreadsheet-read-simple-perl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mboljen","download_url":"https://codeload.github.com/mboljen/spreadsheet-read-simple-perl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mboljen%2Fspreadsheet-read-simple-perl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33076167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["parser","perl-module","spreadsheet"],"created_at":"2024-11-12T00:28:27.866Z","updated_at":"2026-05-15T19:32:09.874Z","avatar_url":"https://github.com/mboljen.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spreadsheet-read-simple-perl\n\nPerl module `Spreadsheet::Read::Simple` for simple parsing of spreadsheets\n\n\n## Synopsis\n\n```perl\n# Include module\nuse Spreadsheet::Read::Simple;\n\n# Read spreadsheet\nmy $book = ReadDataSimple($file);\n```\n\n\n## Description\n\nThis module combines the capabilities of the modules `Spreadsheet::Read`\nand `DataExtract::FixedWidth` in order to parse both, conventional\nspreadsheets and text files with data in fixed width columns.\n\nThe latter is being achieved by converting the text file with fixed\nwidth columns to a temporary CSV spreadsheet and parsing this file using\nthe method `ReadData` provided by `Spreadsheet::Read`.\n\n## Export\n\nThe following symbols are exported.\n\n+ `\u0026ReadDataSimple`\n\n## Subroutines\n\n+ **ReadDataSimple**( *source* [, _option_ =\u003e _value_ [, ... ]])`\n\n  The subroutine `ReadDataSimple` is a wrapper for the subroutine `ReadData`.\n  It receives a mandatory argument _source_ which can be the name of file or\n  a file handle. If it is a file, several checks are being performed in order\n  to identify text files with fixed-width columns. If these checks are positive\n  the text file is converted to an temporary CSV file and afterwards parsed\n  using the ordinary subroutine `ReadData`. The subroutine `ReadDataSimple`\n  may receive additional arguments in key-value-syntax. Refer to the\n  documentation of `Spreadsheet::Read` for details.  The following options\n  are recognized:\n\n  + **sep** =\u003e _char_\n\n    The option **sep** sets the separation character needed for parsing\n    CSV files. If omitted, the separation character is auto-detected\n    using the module `Text::CSV::Separator`.\n\n  + **parser** =\u003e _fmt_\n\n    The option **parser** sets the spreadsheet format. If omitted, the\n    routine will try to detect it automatically be its MIME type.\n    Known settings are: `csv`, `ods`, `xls`, `xlsx`.\n\n\n## Requirements\n\n+ [DataExtract::FixedWidth](https://metacpan.org/pod/DataExtract::FixedWidth)\n+ [File::MimeInfo](https://metacpan.org/pod/File::MimeInfo)\n+ [File::Temp](https://metacpan.org/pod/File::Temp)\n+ [Scalar::Util](https://metacpan.org/pod/Scalar::Util)\n+ [Spreadsheet::Read](https://metacpan.org/pod/Spreadsheet::Read)\n+ [Spreadsheet::Write](https://metacpan.org/pod/Spreadsheet::Write)\n+ [Text::CSV::Separator](https://metacpan.org/pod/Text::CSV::Separator)\n+ [Text::Trim](https://metacpan.org/pod/Text::Trim)\n\n\n## Contribution\n\nPull requests are welcome.  For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmboljen%2Fspreadsheet-read-simple-perl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmboljen%2Fspreadsheet-read-simple-perl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmboljen%2Fspreadsheet-read-simple-perl/lists"}