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

We also have a status page: https://freshports.wordpress.com/

Port details
p5-Safe-Isa Call isa, can, does and DOES safely on things that may not be objects
1.000008 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: 30 Jul 2012 19:23:17
Also Listed In: perl5
License: ART10 GPLv1+
Since Perl allows us to provide a subroutine reference or a method name to the
-> operator when used as a method call, and a subroutine doesn't require the
invocant to actually be an object, we can create safe versions of isa, can and
friends by using a subroutine reference that only tries to call the method if
it's used on an object.

e.g. my $isa_Foo = $maybe_an_object->$_call_if_object(isa => 'Foo');

Note that we don't handle trying class names, because many things are valid
class names that you might not want to treat as one (like say "Matt") - the
is_module_name function from Module::Runtime is a good way to check for
something you might be able to call methods on if you want to do that.

WWW: http://search.cpan.org/dist/Safe-Isa/
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (6 items)
  1. /usr/local/share/licenses/p5-Safe-Isa-1.000008/catalog.mk
  2. /usr/local/share/licenses/p5-Safe-Isa-1.000008/LICENSE
  3. /usr/local/share/licenses/p5-Safe-Isa-1.000008/ART10
  4. /usr/local/share/licenses/p5-Safe-Isa-1.000008/GPLv1+
  5. lib/perl5/site_perl/Safe/Isa.pm
  6. lib/perl5/site_perl/man/man3/Safe::Isa.3.gz
  7. Collapse this list.

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

PKGNAME: p5-Safe-Isa

distinfo:

TIMESTAMP = 1507041406
SHA256 (Safe-Isa-1.000008.tar.gz) = 7db6d7d9be58d41ef8cd91bd86ffa025bce5ad4a59f265575c6315dc39242723
SIZE (Safe-Isa-1.000008.tar.gz) = 5994


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

Build dependencies:
  1. perl5>=5.24<5.25 : lang/perl5.24
Runtime dependencies:
  1. perl5>=5.24<5.25 : lang/perl5.24

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
     No options to configure

USES:
perl5

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Safe/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Safe/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Safe/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Safe/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Safe/
  7. http://backpan.perl.org/modules/by-module/Safe/
  8. http://cpan.metacpan.org/modules/by-module/
  9. http://cpan.metacpan.org/modules/by-module/Safe/
  10. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Safe/
  11. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Safe/
  12. http://www.cpan.dk/modules/by-module/Safe/
  13. http://www.cpan.org/modules/by-module/Safe/

Number of commits found: 13

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
03 Oct 2017 15:34:52
Original commit files touched by this commit  1.000008
Revision:451137
sunpoet search for other commits by this committer
Update to 1.000008

Changes:	http://search.cpan.org/dist/Safe-Isa/Changes
22 Sep 2017 09:13:26
Original commit files touched by this commit  1.000007
Revision:450331
sunpoet search for other commits by this committer
Update to 1.000007

Changes:	http://search.cpan.org/dist/Safe-Isa/Changes
15 Sep 2017 08:58:50
Original commit files touched by this commit  1.000006
Revision:449893
mat search for other commits by this committer
Fix license information for portgs that use "the same license as Perl".

Sponsored by:	Absolight
06 Nov 2016 16:50:32
Original commit files touched by this commit  1.000006
Revision:425551
sunpoet search for other commits by this committer
- Update to 1.000006
- Add NO_ARCH

Changes:	http://search.cpan.org/dist/Safe-Isa/Changes
26 Nov 2014 13:08:38
Original commit files touched by this commit  1.000005_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  1.000005
Revision:371547
bapt search for other commits by this committer
Cleanup plist
18 Aug 2014 12:46:01
Original commit files touched by this commit  1.000005
Revision:365298
sunpoet search for other commits by this committer
- Update to 1.000005

Changes:	http://search.cpan.org/dist/Safe-Isa/Changes
29 Apr 2014 13:22:10
Original commit files touched by this commit  1.000004
Revision:352603
sunpoet search for other commits by this committer
- Update to 1.000004

Changes:	http://search.cpan.org/dist/Safe-Isa/Changes
30 Sep 2013 20:25:26
Original commit files touched by this commit  1.000.002
Revision:328865
sunpoet search for other commits by this committer
- Support STAGEDIR
20 Sep 2013 17:13:47
Original commit files touched by this commit  1.000.002
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  1.000.002
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  1.000.002
Revision:325134
sunpoet search for other commits by this committer
- Convert to new perl framework
30 Jul 2012 19:22:49
Original commit files touched by this commit  1.000.002
sunpoet search for other commits by this committer
- Add p5-Safe-Isa 1.000002

Since Perl allows us to provide a subroutine reference or a method name to the
-> operator when used as a method call, and a subroutine doesn't require the
invocant to actually be an object, we can create safe versions of isa, can and
friends by using a subroutine reference that only tries to call the method if
it's used on an object.

e.g. my $isa_Foo = $maybe_an_object->$_call_if_object(isa => 'Foo');

Note that we don't handle trying class names, because many things are valid
class names that you might not want to treat as one (like say "Matt") - the
is_module_name function from Module::Runtime is a good way to check for
something you might be able to call methods on if you want to do that.

WWW: http://search.cpan.org/dist/Safe-Isa/

Number of commits found: 13

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
opensslNov 02
openssl-develNov 02
wordpressNov 01
php56Oct 30
php70Oct 30
php71Oct 30
wiresharkOct 30
chromiumOct 28
wgetOct 27
wgetOct 27
openoffice-4*Oct 26
openoffice-devel*Oct 26
gitlabOct 25
nodeOct 25
node4Oct 25

No vulnerabilities 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 31876
Broken 126
Deprecated 55
Ignore 364
Forbidden 0
Restricted 175
No CDROM 78
Vulnerable 50
Expired 11
Set to expire 47
Interactive 0
new 24 hours 3
new 48 hours11
new 7 days3212
new fortnight3397
new month3452

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