{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","perl5"],"comment":"Automatically return a true value when a file is required","compare":null,"dependentCount":null,"description":"Perl's require builtin (and its use wrapper) requires the files it loads to\nreturn a true value. This is usually accomplished by placing a single\n\n    1;\n\nstatement at the end of included scripts or modules. It's not onerous to add but\nit's a speed bump on the Perl novice's road to enlightenment. In addition, it\nappears to be a non-sequitur to the uninitiated, leading some to attempt to\nmitigate its appearance with a comment:\n\n    1; # keep require happy\nor:\n    1; # Do not remove this line\nor even:\n    1; # Must end with this, because Perl is bogus.\n\nThis module packages this \"return true\" behaviour so that it need not be written\nexplicitly. It can be used directly, but it is intended to be invoked from the\nimport method of a Modern::Perl-style module that enables modern Perl features\nand conveniences and cleans up legacy Perl warts.","flavors":[],"html":"https://daemonports.org/dragonfly/devel/p5-true/","kind":"port","lastUpdate":null,"license":null,"maintainer":"sunpoet@FreeBSD.org","name":"p5-true","newest":true,"newestVersion":"1.0.2","noVulnData":false,"origin":"devel/p5-true","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/p5-true","path":"/devel/p5-true/","system":"FreeBSD","version":"1.0.2"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-true","path":"","system":"HardenedBSD","version":"1.0.2"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-true","path":"","system":"GhostBSD","version":"1.0.2"}],"packages":null,"pkgName":"p5-true-1.0.2","related":null,"repository":"DPorts","requiredBy":["devel/p5-MooseX-Extended"],"requiredByCount":1,"runDepends":["devel/p5-B-Hooks-OP-Annotation","devel/p5-B-Hooks-OP-Check","devel/p5-Devel-StackTrace","lang/perl5.36"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"1.0.2","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/true"}
