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-Return-Type Specify a return type for a function (optionally with coercion)
0.005_3 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: 19 Mar 2014 17:28:07
Also Listed In: perl5
License: ART10 GPLv1
Return::Type allows you to specify a return type for your subs. Type constraints
from any Type::Tiny, MooseX::Types or MouseX::Types type library are supported.

The simple syntax for specifying a type constraint is shown in the "SYNOPSIS"
[1]. If the attribute is passed a single type constraint as shown, this will be
applied to the return value if called in scalar context, and to each item in the
returned list if called in list context. (If the sub is called in void context,
type constraints are simply ignored.)

[1] http://search.cpan.org/dist/Return-Type/lib/Return/Type.pm#SYNOPSIS

WWW: http://search.cpan.org/dist/Return-Type/
SVNWeb : Homepage : PortsMon

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

PKGNAME: p5-Return-Type

distinfo:

SHA256 (Return-Type-0.005.tar.gz) = 6666f8103cfa6beb2bc71a20f2686bd98bbd5edf1e9df9d60e0a6dc2b7f3293a
SIZE (Return-Type-0.005.tar.gz) = 18281


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

Build dependencies:
  1. p5-Type-Tiny>=0 : devel/p5-Type-Tiny
  2. p5-Scalar-List-Utils>=0 : lang/p5-Scalar-List-Utils
  3. perl5>=5.20<5.21 : lang/perl5.20
Runtime dependencies:
  1. p5-Type-Tiny>=0 : devel/p5-Type-Tiny
  2. p5-Scalar-List-Utils>=0 : lang/p5-Scalar-List-Utils
  3. 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/T/TO/TOBYINK/
  2. ftp://ftp.cpan.org/pub/CPAN/authors/id/T/TO/TOBYINK/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Return/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/T/TO/TOBYINK/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/authors/id/T/TO/TOBYINK/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/authors/id/T/TO/TOBYINK/
  7. ftp://ftp.sunet.se/pub/lang/perl/CPAN/authors/id/T/TO/TOBYINK/
  8. http://backpan.perl.org/authors/id/T/TO/TOBYINK/
  9. http://cpan.metacpan.org/authors/id/T/TO/TOBYINK/
  10. http://cpan.metacpan.org/modules/by-module/Return/
  11. http://ftp.jaist.ac.jp/pub/CPAN/authors/id/T/TO/TOBYINK/
  12. http://ftp.twaren.net/Unix/Lang/CPAN/authors/id/T/TO/TOBYINK/
  13. http://www.cpan.dk/authors/id/T/TO/TOBYINK/
  14. http://www.cpan.org/authors/id/T/TO/TOBYINK/

Number of commits found: 7

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
01 Apr 2016 11:16:14
Original commit files touched by this commit  0.005_3
Revision:412322
sunpoet search for other commits by this committer
- Add LICENSE_FILE
- Fix *_DEPENDS
- Update *_DEPENDS: remove PORTSDIR
- Bump PORTREVISION for dependency change
31 Mar 2016 15:23:13
Original commit files touched by this commit  0.005_2
Revision:412231
mat search for other commits by this committer
Cleanup dependencies on lang/p5-Scalar-List-Utils.

The different cases are:

- Only bring it if the one bundled with Perl is outdated.
- The version bundled with all our Perl is sufficient.
- Scalar-List-Util is not really needed by the port.
  (looking for /(Sub|Scalar|List)::Util/ returns nothing.)

While there, do some minor cleanup that caught my eye.

PR:		208378
With hat:	perl@
Sponsored by:	Absolight
26 Nov 2014 13:08:38
Original commit files touched by this commit  0.005_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.005
Revision:371547
bapt search for other commits by this committer
Cleanup plist
09 Sep 2014 14:43:28
Original commit files touched by this commit  0.005
Revision:367736
sunpoet search for other commits by this committer
- Update to 0.005

Changes:	http://search.cpan.org/dist/Return-Type/Changes
31 Jul 2014 10:30:11
Original commit files touched by this commit  0.004
Revision:363567
sunpoet search for other commits by this committer
- Update to 0.004

Changes:	http://search.cpan.org/dist/Return-Type/Changes
19 Mar 2014 17:27:38
Original commit files touched by this commit  0.003
Revision:348640
sunpoet search for other commits by this committer
- Add p5-Return-Type 0.003

Return::Type allows you to specify a return type for your subs. Type constraints
from any Type::Tiny, MooseX::Types or MouseX::Types type library are supported.

The simple syntax for specifying a type constraint is shown in the "SYNOPSIS"
[1]. If the attribute is passed a single type constraint as shown, this will be
applied to the return value if called in scalar context, and to each item in the
returned list if called in list context. (If the sub is called in void context,
type constraints are simply ignored.)

[1] http://search.cpan.org/dist/Return-Type/lib/Return/Type.pm#SYNOPSIS

WWW: http://search.cpan.org/dist/Return-Type/

Number of commits found: 7

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
krb5-113*Jul 26
krb5-114*Jul 26
php55Jul 26
php55-bz2Jul 26
php55-exifJul 26
php55-gdJul 26
php55-odbcJul 26
php55-snmpJul 26
php55-xmlrpcJul 26
php55-zipJul 26
php56Jul 26
php56-bz2Jul 26
php56-exifJul 26
php56-gdJul 26
php56-odbcJul 26

19 vulnerabilities affecting 62 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 26078
Broken 81
Deprecated 122
Ignore 352
Forbidden 0
Restricted 201
No CDROM 83
Vulnerable 69
Expired 10
Set to expire 109
Interactive 0
new 24 hours 0
new 48 hours7
new 7 days26
new fortnight60
new month163

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