p5-true-1.0.1.txz


Advertisement

Description

p5-true - Automatically return a true value when a file is required

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Latest amd64
Package filename p5-true-1.0.1.txz
Package name p5-true
Package version 1.0.1
Package release -
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/true
License -
Maintainer sunpoet@FreeBSD.org
Download size 10.01 KB
Installed size 17.36 KB
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.
WWW: https://metacpan.org/release/true

Alternatives

Package Version Architecture Repository
p5-true-1.0.1.txz 1.0.1 i386 FreeBSD Ports Quarterly
p5-true-1.0.1.txz 1.0.1 amd64 FreeBSD Ports Quarterly
p5-true-1.0.1.txz 1.0.1 i386 FreeBSD Ports Latest
p5-true - - -

Requires

Name Value
libperl.so.5.28 -
p5-B-Hooks-OP-Annotation = 0.44_2
p5-B-Hooks-OP-Check = 0.22
p5-Devel-StackTrace = 2.03
perl5 = 5.28.1_1

Download

Type URL
Mirror pkg.freebsd.org
Binary Package p5-true-1.0.1.txz
Source Package devel/p5-true

Install Howto

Install p5-true txz package:

# pkg install p5-true

See Also

Package Description
p5-type1inst-0.6.1_6.txz Script that helps install Postscript fonts in X Window System
p5-uni-perl-0.91_2.txz Modern perl with Unicode
p5-v6-0.047.txz Experimental compiler for Perl 6
p5-version-0.9924.txz Perl extension for Version Objects
p5-xmltv-0.5.70.txz Set of programs to process TV (tvguide) listings in XML format
p5-xmms2-0.8_3.txz Perl Bindings for XMMS2
p7zip-16.02_2.txz File archiver with high compression ratio
p7zip-codec-rar-16.02_1.txz RAR decoder codec for p7zip
p8-platform-2.1.0.1_2.txz Platform support library used by libCEC and binary add-ons for Kodi
p910nd-0.97.txz Port 9100+n printer daemon
pHash-0.9.6_14.txz Open source perceptual hash library
pa-aspell-0.01.1_1,2.txz Aspell Punjabi dictionary
pa_IN-libreoffice-6.3.2.txz pa_IN language pack for libreoffice
pacemaker1-1.1.19_1.txz Scalable High-Availability cluster resource manager
pacemaker2-2.0.0_1.txz Scalable High-Availability cluster resource manager
Advertisement
Advertisement