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

Please give me your LTO-4 or better tape library and I'll put it to good use.
Port details
p5-true Automatically return a true value when a file is required
0.18_1 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 : Distfiles Availability : PortsMon

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.18.4 : lang/perl5.18
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.18.4 : lang/perl5.18
There are no ports dependent upon this port

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


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/
  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://distcache.FreeBSD.org/ports-distfiles/
  11. http://ftp.jaist.ac.jp/pub/CPAN/authors/id/C/CH/CHOCOLATE/
  12. http://ftp.twaren.net/Unix/Lang/CPAN/authors/id/C/CH/CHOCOLATE/
  13. http://www.cpan.dk/authors/id/C/CH/CHOCOLATE/
  14. http://www.cpan.dk/modules/by-module/
  15. http://www.cpan.org/authors/id/C/CH/CHOCOLATE/

Number of commits found: 8

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
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: 8

Login
User Login
Create account

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

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

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
cross-binutilsMar 24
jenkinsMar 24
jenkins-ltsMar 24
libressl*Mar 24
linux-c6-openssl*Mar 24
mingw32-openssl*Mar 24
mingw64-binutilsMar 24
openssl*Mar 24
firefoxMar 22
firefox-esrMar 22
libxulMar 22
linux-firefoxMar 22
linux-seamonkeyMar 22
seamonkeyMar 22
sympaMar 13

5 vulnerabilities affecting 24 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 24720
Broken 101
Deprecated 143
Ignore 390
Forbidden 3
Restricted 203
No CDROM 95
Vulnerable 21
Expired 1
Set to expire 136
Interactive 0
new 24 hours 2
new 48 hours14
new 7 days28
new fortnight43
new month127

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