{"id":16315229,"url":"https://github.com/robrwo/readonly-enum","last_synced_at":"2025-10-22T10:58:47.620Z","repository":{"id":137631352,"uuid":"12469232","full_name":"robrwo/Readonly-Enum","owner":"robrwo","description":"Enumerated Read-only sclars in Perl","archived":false,"fork":false,"pushed_at":"2025-08-19T12:45:37.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-18T13:43:05.459Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robrwo.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2013-08-29T19:32:29.000Z","updated_at":"2025-08-19T12:45:41.000Z","dependencies_parsed_at":"2025-09-11T22:35:13.209Z","dependency_job_id":"34d7ab17-c44a-450d-bb94-527707361226","html_url":"https://github.com/robrwo/Readonly-Enum","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robrwo/Readonly-Enum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrwo%2FReadonly-Enum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrwo%2FReadonly-Enum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrwo%2FReadonly-Enum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrwo%2FReadonly-Enum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robrwo","download_url":"https://codeload.github.com/robrwo/Readonly-Enum/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrwo%2FReadonly-Enum/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280424211,"owners_count":26328462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-10T21:56:34.340Z","updated_at":"2025-10-22T10:58:47.615Z","avatar_url":"https://github.com/robrwo.png","language":"Perl","readme":"# NAME\n\nReadonly::Enum - enumerated scalar values\n\n# SYNOPSIS\n\n    use Readonly::Enum;\n\n    # $foo = 1, $bar = 2, etc.\n\n    Readonly::Enum my ($foo, $bar, $baz);\n\n    # $foo = 0, $bar = 1, etc.\n\n    Readonly::Enum my ($foo, $bar, $baz) =\u003e 0;\n\n    # $foo = 0, $bar = 5, $baz = 6, etc.\n\n    Readonly::Enum my ($foo, $bar, $baz) =\u003e (0, 5);\n\n# DESCRIPTION\n\nThis module provides some syntactic sugar for defining enumerated\nscalar values.\n\nIt is to [Readonly](https://metacpan.org/pod/Readonly) what the [enum](https://metacpan.org/pod/enum) package is to [constant](https://metacpan.org/pod/constant).\nUnlike enumerated constants, these scalars can be used as hash keys\nand interpolated in strings.\n\nUnlike [enum](https://metacpan.org/pod/enum), only integers are supported in this version.\n\n# AUTHOR\n\nRobert Rothenberg `rrwo@cpan.org`.\n\nCurrent Maintainer, Nigel Horne, `\u003cnjh at nigelhorne.com\u003e`\n\n# LICENSE AND COPYRIGHT\n\nCopyright 2013-2014 Robert Rothenberg.\n\nThis program is free software; you can redistribute it and/or modify it\nunder the terms of the the Artistic License (2.0). You may obtain a\ncopy of the full license at:\n\n[http://www.perlfoundation.org/artistic\\_license\\_2\\_0](http://www.perlfoundation.org/artistic_license_2_0)\n\nAny use, modification, and distribution of the Standard or Modified\nVersions is governed by this Artistic License. By using, modifying or\ndistributing the Package, you accept this license. Do not use, modify,\nor distribute the Package, if you do not accept this license.\n\nIf your Modified Version has been derived from a Modified Version made\nby someone other than you, you are nevertheless required to ensure that\nyour Modified Version complies with the requirements of this license.\n\nThis license does not grant you the right to use any trademark, service\nmark, tradename, or logo of the Copyright Holder.\n\nThis license includes the non-exclusive, worldwide, free-of-charge\npatent license to make, have made, use, offer to sell, sell, import and\notherwise transfer the Package with respect to any patent claims\nlicensable by the Copyright Holder that are necessarily infringed by the\nPackage. If you institute patent litigation (including a cross-claim or\ncounterclaim) against any party alleging that the Package constitutes\ndirect or contributory patent infringement, then this Artistic License\nto you shall terminate on the date that such litigation is filed.\n\nDisclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER\nAND CONTRIBUTORS \"AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\nPURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY\nYOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR\nCONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR\nCONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE,\nEVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobrwo%2Freadonly-enum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobrwo%2Freadonly-enum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobrwo%2Freadonly-enum/lists"}