{"id":28560684,"url":"https://github.com/personnummer/perl","last_synced_at":"2025-06-10T09:38:10.698Z","repository":{"id":39656168,"uuid":"256476480","full_name":"personnummer/perl","owner":"personnummer","description":"Validate Swedish personal identity numbers","archived":false,"fork":false,"pushed_at":"2025-04-14T21:23:41.000Z","size":73,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T00:00:02.651Z","etag":null,"topics":["perl","personal-identity-number","personnummer","social-security-number","validation"],"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/personnummer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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},"funding":{"open_collective":"sweidproject"}},"created_at":"2020-04-17T10:48:20.000Z","updated_at":"2025-04-14T21:23:23.000Z","dependencies_parsed_at":"2024-01-01T08:54:26.630Z","dependency_job_id":"ad0419e9-3d19-412a-b35a-81fc78004526","html_url":"https://github.com/personnummer/perl","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fperl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fperl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fperl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fperl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/personnummer","download_url":"https://codeload.github.com/personnummer/perl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/personnummer%2Fperl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259049858,"owners_count":22798045,"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","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":["perl","personal-identity-number","personnummer","social-security-number","validation"],"created_at":"2025-06-10T09:37:37.986Z","updated_at":"2025-06-10T09:38:10.661Z","avatar_url":"https://github.com/personnummer.png","language":"Perl","funding_links":["https://opencollective.com/sweidproject"],"categories":[],"sub_categories":[],"readme":"# perl-personnummer\n\nValidate Swedish [personal identification\nnumbers](https://en.wikipedia.org/wiki/Personal_identity_number_(Sweden)) with\n[Perl](https://www.perl.org/)\n\n\n## Usage\n\nInstall with `cpanm` (or your preferred tool).\n\n```perl\n#!/usr/bin/env perl\n\nuser warnings;\nuse strict;\n\nuse Personnummer;\n\nmy $pnr = Personnummer-\u003enew( $ARGV[0] );\n\nif ( !$pnr-\u003evalid() ) {\n    die \"Invalid personal identity number\";\n}\n\nmy $gender = $pnr-\u003eis_female() ? \"female\" : \"male\";\n\nprintf( \"The person with personal identity number %s is a %s of age %d\\n\",\n    $pnr-\u003eformat(), $gender, $pnr-\u003eget_age() );\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpersonnummer%2Fperl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpersonnummer%2Fperl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpersonnummer%2Fperl/lists"}