Port details on branch 2022Q2 |
- p5-true Automatically return a true value when a file is required
- 1.0.2 devel =0 1.0.2Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2011-11-09 01:32:20
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- Also Listed In: perl5
- License: not specified in port
- WWW:
- https://metacpan.org/release/true
- Description:
- Perl's require builtin (and its use wrapper) requires the files it loads to
return a true value. This is usually accomplished by placing a single
1;
statement at the end of included scripts or modules. It's not onerous to add but
it's a speed bump on the Perl novice's road to enlightenment. In addition, it
appears to be a non-sequitur to the uninitiated, leading some to attempt to
mitigate its appearance with a comment:
1; # keep require happy
or:
1; # Do not remove this line
or even:
1; # Must end with this, because Perl is bogus.
This module packages this "return true" behaviour so that it need not be written
explicitly. It can be used directly, but it is intended to be invoked from the
import method of a Modern::Perl-style module that enables modern Perl features
and conveniences and cleans up legacy Perl warts.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/devel/p5-true/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-true
- pkg install p5-true
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-true
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1605426383
SHA256 (true-v1.0.2.tar.gz) = 6a1ccd4008d4cc66ded4e2a1694b5b2a21d7655e276e1354160012ba2be2a284
SIZE (true-v1.0.2.tar.gz) = 129037
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-ExtUtils-Depends>=0.405 : devel/p5-ExtUtils-Depends
- p5-B-Hooks-OP-Annotation>=0.44 : devel/p5-B-Hooks-OP-Annotation
- p5-B-Hooks-OP-Check>=0.22 : devel/p5-B-Hooks-OP-Check
- p5-Devel-StackTrace>=1.27 : devel/p5-Devel-StackTrace
- perl5>=5.32.r0<5.33 : lang/perl5.32
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-B-Hooks-OP-Annotation>=0.44 : devel/p5-B-Hooks-OP-Annotation
- p5-B-Hooks-OP-Check>=0.22 : devel/p5-B-Hooks-OP-Check
- p5-Devel-StackTrace>=1.27 : devel/p5-Devel-StackTrace
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- devel/p5-MooseX-Extended
- for Run
-
- devel/p5-MooseX-Extended
Configuration Options:
- No options to configure
- Options name:
- devel_p5-true
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|