{"id":18910016,"url":"https://github.com/jonasbn/pcpmpul","last_synced_at":"2025-08-27T07:11:20.176Z","repository":{"id":12319093,"uuid":"14954949","full_name":"jonasbn/pcpmpul","owner":"jonasbn","description":"Perl::Critic::Policy::logicLAB::ProhibitUseLib - simple policy prohibiting the use of 'use lib'","archived":false,"fork":false,"pushed_at":"2021-05-18T04:55:00.000Z","size":1656,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-23T06:10:05.580Z","etag":null,"topics":["hacktoberfest","perl","perl-critic","perl5","policy"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"webadeo/aem-connector-opus","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonasbn.png","metadata":{"files":{"readme":"README.mkdn","changelog":"Changes","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-05T13:59:39.000Z","updated_at":"2022-10-01T06:57:14.000Z","dependencies_parsed_at":"2022-08-28T21:11:08.719Z","dependency_job_id":null,"html_url":"https://github.com/jonasbn/pcpmpul","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jonasbn/pcpmpul","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasbn%2Fpcpmpul","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasbn%2Fpcpmpul/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasbn%2Fpcpmpul/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasbn%2Fpcpmpul/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonasbn","download_url":"https://codeload.github.com/jonasbn/pcpmpul/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasbn%2Fpcpmpul/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272302837,"owners_count":24910276,"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-08-27T02:00:09.397Z","response_time":76,"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":["hacktoberfest","perl","perl-critic","perl5","policy"],"created_at":"2024-11-08T09:38:57.741Z","updated_at":"2025-08-27T07:11:20.135Z","avatar_url":"https://github.com/jonasbn.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CPAN version](https://badge.fury.io/pl/Perl-Critic-Policy-logicLAB-ProhibitUseLib.svg)](http://badge.fury.io/pl/Perl-Critic-Policy-logicLAB-ProhibitUseLib)\n[![Build Status](https://travis-ci.org/jonasbn/pcpmpul.svg?branch=master)](https://travis-ci.org/jonasbn/pcpmpul)\n[![Coverage Status](https://coveralls.io/repos/jonasbn/pcpmpul/badge.png)](https://coveralls.io/r/jonasbn/pcpmpul)\n\n# NAME\n\nPerl::Critic::Policy::logicLAB::ProhibitUseLib - simple policy prohibiting the use of 'use lib'\n\n# AFFILIATION\n\nThis policy is a policy in the [Perl::Critic::logicLAB](https://metacpan.org/pod/Perl::Critic::logicLAB) distribution.\n\n# VERSION\n\nThis documentation describes version 0.03\n\n# DESCRIPTION\n\nThe 'use lib' statement, hardcodes the include path to be used. This can give\nissues when moving modules and scripts between diverse environments.\n\n    use lib '/some/path';                                       #not ok\n    use lib qw(/you/do/not/want/to/go/down/this/path /or/this); #not ok\n\nInstead use the environment variable PERL5LIB\n\n    #bash\n    export PERL5LIB='/some/path/some/where'\n\n    #tcsh and csh\n    setenv PERL5LIB '/some/path/some/where'\n\n# CONFIGURATION AND ENVIRONMENT\n\nThis Policy is not configurable except for the standard options.\n\n# DEPENDENCIES AND REQUIREMENTS\n\n- [Perl::Critic](https://metacpan.org/pod/Perl::Critic)\n- [Perl::Critic::Utils](https://metacpan.org/pod/Perl::Critic::Utils)\n- [Readonly](https://metacpan.org/pod/Readonly)\n- [Test::More](https://metacpan.org/pod/Test::More)\n- [Test::Perl::Critic](https://metacpan.org/pod/Test::Perl::Critic)\n\n# INCOMPATIBILITIES\n\nThis distribution has no known incompatibilities.\n\n# BUGS AND LIMITATIONS\n\nCurrently the policy has no special opinion on [FindBin](https://metacpan.org/pod/FindBin). It only aims to\naddress messy, misleading, buggy and obscuring use of 'use lib'.\n\n# BUG REPORTING\n\nPlease use Requets Tracker for bug reporting:\n\n    http://rt.cpan.org/NoAuth/Bugs.html?Dist=Perl-Critic-logicLAB-ProhibitUseLib\n\n# TEST AND QUALITY\n\nThe following policies have been disabled for this distribution\n\n- [Perl::Crititc::Policy::ValuesAndExpressions::ProhibitConstantPragma](https://metacpan.org/pod/Perl::Crititc::Policy::ValuesAndExpressions::ProhibitConstantPragma)\n- [Perl::Crititc::Policy::NamingConventions::Capitalization](https://metacpan.org/pod/Perl::Crititc::Policy::NamingConventions::Capitalization)\n\nSee also `t/perlcriticrc`\n\n## TEST COVERAGE\n\n    ---------------------------- ------ ------ ------ ------ ------ ------ ------\n    File                           stmt   bran   cond    sub    pod   time  total\n    ---------------------------- ------ ------ ------ ------ ------ ------ ------\n    ...ogicLAB/ProhibitUseLib.pm  100.0   50.0    n/a  100.0  100.0  100.0   95.3\n    Total                         100.0   50.0    n/a  100.0  100.0  100.0   95.3\n    ---------------------------- ------ ------ ------ ------ ------ ------ ------\n\n# SEE ALSO\n\n- [http://perldoc.perl.org/perlrun.html#ENVIRONMENT](http://perldoc.perl.org/perlrun.html#ENVIRONMENT)\n- [http://logiclab.jira.com/wiki/display/OPEN/Development#Development-MakeyourComponentsEnvironmentAgnostic](http://logiclab.jira.com/wiki/display/OPEN/Development#Development-MakeyourComponentsEnvironmentAgnostic)\n- [http://logicLAB.jira.com/wiki/display/PCPMPUL/Home](http://logicLAB.jira.com/wiki/display/PCPMPUL/Home)\n\n# AUTHOR\n\n- Jonas B. Nielsen, jonasbn `\u003cjonasbn@cpan.org\u003e`\n\n# LICENSE AND COPYRIGHT\n\nCopyright (c) 2009-2014 Jonas B. Nielsen. All rights reserved.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonasbn%2Fpcpmpul","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonasbn%2Fpcpmpul","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonasbn%2Fpcpmpul/lists"}