{"id":19640346,"url":"https://github.com/kentnl/moox-lsub","last_synced_at":"2026-06-10T04:31:16.502Z","repository":{"id":18350638,"uuid":"21530499","full_name":"kentnl/MooX-Lsub","owner":"kentnl","description":"Very shorthand syntax for bulk lazy builders","archived":false,"fork":false,"pushed_at":"2017-03-03T14:19:13.000Z","size":115,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T18:56:55.244Z","etag":null,"topics":["perl"],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kentnl.png","metadata":{"files":{"readme":"README.mkdn","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-06T00:12:41.000Z","updated_at":"2021-11-05T23:38:57.000Z","dependencies_parsed_at":"2022-09-07T03:10:13.719Z","dependency_job_id":null,"html_url":"https://github.com/kentnl/MooX-Lsub","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FMooX-Lsub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FMooX-Lsub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FMooX-Lsub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FMooX-Lsub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kentnl","download_url":"https://codeload.github.com/kentnl/MooX-Lsub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240947648,"owners_count":19883030,"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"],"created_at":"2024-11-11T14:05:30.981Z","updated_at":"2026-06-10T04:31:16.443Z","avatar_url":"https://github.com/kentnl.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nMooX::Lsub - Very shorthand syntax for bulk lazy builders\n\n# VERSION\n\nversion 0.002002\n\n# SYNOPSIS\n\n    use MooX::Lsub;\n\n    # Shorthand for\n    # has foo =\u003e ( is =\u003e ro =\u003e, lazy =\u003e 1, builder =\u003e '_build_foo' );\n    # sub _build_foo { \"Hello\" }\n\n    lsub foo =\u003e sub { \"Hello\" };\n\n# DESCRIPTION\n\nI often want to use a lot of lazy build subs to implement some plumbing, with scope to allow\nit to be overridden by people who know what they're doing with an injection library like Bread::Board.\n\nUsually, the syntax of `Class::Tiny` is what I use for such things.\n\n    use Class::Tiny {\n      'a' =\u003e sub { },\n      'b' =\u003e sub { },\n    };\n\nEtc.\n\nBut switching things to Moo means I usually have to get much uglier, and repeat myself a \\*lot\\*.\n\nSo this module exists as a compromise.\n\nAdditionally, I always forgot to declare `use Moo 1.000008` which was the first version of `Moo` where\n`builder =\u003e sub` worked, and I would invariably get silly test failures in smokers as a consequence.\n\nThis module avoids such problem entirely, and is tested to work with `Moo 0.009001`.\n\n# AUTHOR\n\nKent Fredric \u003ckentnl@cpan.org\u003e\n\n# COPYRIGHT AND LICENSE\n\nThis software is copyright (c) 2017 by Kent Fredric \u003ckentfredric@gmail.com\u003e.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentnl%2Fmoox-lsub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentnl%2Fmoox-lsub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentnl%2Fmoox-lsub/lists"}