FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
p5-true Automatically return a true value when a file is required
0.18_2 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 09 Nov 2011 01:32:20
Also Listed In: perl5
License: not specified in port
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: http://search.cpan.org/dist/true/
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/devel/p5-true/ && make install clean
To add the package: pkg install p5-true

PKGNAME: p5-true


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. p5-B-Hooks-OP-Annotation>=0.43 : devel/p5-B-Hooks-OP-Annotation
  2. p5-B-Hooks-OP-Check>=0.18 : devel/p5-B-Hooks-OP-Check
  3. p5-Devel-StackTrace>=1.27 : devel/p5-Devel-StackTrace
  4. p5-ExtUtils-Depends>=0.304 : devel/p5-ExtUtils-Depends
  5. perl5>=5.20<5.21 : lang/perl5.20
Runtime dependencies:
  1. p5-B-Hooks-OP-Annotation>=0.43 : devel/p5-B-Hooks-OP-Annotation
  2. p5-B-Hooks-OP-Check>=0.18 : devel/p5-B-Hooks-OP-Check
  3. p5-Devel-StackTrace>=1.27 : devel/p5-Devel-StackTrace
  4. perl5>=5.20<5.21 : lang/perl5.20
There are no ports dependent upon this port

Configuration Options
     No options to configure

USES:
perl5

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/authors/id/C/CH/CHOCOLATE/
  2. ftp://ftp.cpan.org/pub/CPAN/authors/id/C/CH/CHOCOLATE/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/true/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/C/CH/CHOCOLATE/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/authors/id/C/CH/CHOCOLATE/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/authors/id/C/CH/CHOCOLATE/
  7. ftp://ftp.sunet.se/pub/lang/perl/CPAN/authors/id/C/CH/CHOCOLATE/
  8. http://backpan.perl.org/authors/id/C/CH/CHOCOLATE/
  9. http://cpan.metacpan.org/authors/id/C/CH/CHOCOLATE/
  10. http://cpan.metacpan.org/modules/by-module/true/
  11. http://distcache.FreeBSD.org/ports-distfiles/
  12. http://ftp.jaist.ac.jp/pub/CPAN/authors/id/C/CH/CHOCOLATE/
  13. http://ftp.twaren.net/Unix/Lang/CPAN/authors/id/C/CH/CHOCOLATE/
  14. http://www.cpan.dk/authors/id/C/CH/CHOCOLATE/
  15. http://www.cpan.org/authors/id/C/CH/CHOCOLATE/

Number of commits found: 10

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
01 Apr 2016 14:00:57
Original commit files touched by this commit  0.18_2
Revision:412346
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
17 Aug 2015 13:05:24
Original commit files touched by this commit  0.18_2
Revision:394484
sunpoet search for other commits by this committer
- Strip shared library
- Bump PORTREVISION for package change
26 Nov 2014 13:08:38
Original commit files touched by this commit  0.18_1
Revision:373448
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Oct 2014 10:55:59
Original commit files touched by this commit  0.18
Revision:371547
bapt search for other commits by this committer
Cleanup plist
10 Jun 2014 12:14:14
Original commit files touched by this commit  0.18
Revision:357300
mat search for other commits by this committer
Remove all the bootstrap files (.bs) from the plists.

Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.

PR:		190681
Submitted by:	mat
Exp-Run by:	antoine
Sponsored by:	Absolight
30 Sep 2013 20:41:25
Original commit files touched by this commit  0.18
Revision:328870
sunpoet search for other commits by this committer
- Support STAGEDIR
20 Sep 2013 17:13:47
Original commit files touched by this commit  0.18
Revision:327724
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
21 Aug 2013 17:42:58
Original commit files touched by this commit  0.18
Revision:325163
sunpoet search for other commits by this committer
- Cleanup Makefile header
21 Aug 2013 14:08:08
Original commit files touched by this commit  0.18
Revision:325134
sunpoet search for other commits by this committer
- Convert to new perl framework
09 Nov 2011 01:32:00
Original commit files touched by this commit  0.18
sunpoet search for other commits by this committer
- Add p5-true 0.18

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: http://search.cpan.org/dist/true/

Number of commits found: 10

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
logstashApr 28
subversionApr 28
subversion18Apr 28
ntpApr 27
ntp-develApr 27
firefoxApr 26
firefox-esrApr 26
libxulApr 26
linux-firefoxApr 26
linux-seamonkeyApr 26
linux-thunderbirdApr 26
seamonkeyApr 26
thunderbirdApr 26
phpmyfaqApr 23
libtasn1Apr 21

16 vulnerabilities affecting 44 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 25982
Broken 291
Deprecated 60
Ignore 557
Forbidden 0
Restricted 203
No CDROM 86
Vulnerable 54
Expired 23
Set to expire 47
Interactive 0
new 24 hours 3
new 48 hours5
new 7 days25
new fortnight53
new month138

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.