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

I am looking for an LTO tape library. Do you have one to spare?
Port details
p5-true 0.18 devel on this many watch lists=0 search for ports that depend on this port
Automatically return a true value when a file is required
Maintained by: 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 : Main Web Site : Distfiles Availability : PortsMon

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

Required To Build:
  1. devel/p5-B-Hooks-OP-Annotation
  2. devel/p5-B-Hooks-OP-Check
  3. devel/p5-Devel-StackTrace
  4. devel/p5-ExtUtils-Depends
  5. lang/perl5.16
Required To Run:
  1. devel/p5-B-Hooks-OP-Annotation
  2. devel/p5-B-Hooks-OP-Check
  3. devel/p5-Devel-StackTrace
  4. lang/perl5.16
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

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: 6

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

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
mcollectiveJul 21
qt4-imageformats*Jul 21
qt5-gui*Jul 21
phpmyadmin*Jul 20
apache24Jul 19
chromiumJul 16
chromiumJul 16
kdelibs4Jul 16
postfixadminJul 13
dbusJul 03
mencoderJun 28
mplayerJun 28
lzo2Jun 26
phpmyadmin*Jun 24
gnupgJun 23

7 vulnerabilities affecting 9 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 24467
Broken 194
Deprecated 714
Ignore 527
Forbidden 15
Restricted 263
No CDROM 102
Vulnerable 22
Expired 0
Set to expire 701
Interactive 13
new 24 hours 2
new 48 hours3
new 7 days22
new fortnight52
new month108

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