BSD Ports

devel/p5-self 0.36 DragonFly

Provides "self" and "args" keywords in your OO program

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, perl5
Package size
7.8 KiB, 11.4 KiB installed

Description

This module adds self and args keywords in your Perl OO module. It's really just handy helpers to get rid of:

my $self = shift;

Basically, self is just equal to $_[0], and args is just $_[1..$#_].

In the other systems

SystemPortVersion
DragonFlydevel/p5-self0.36
FreeBSDdevel/p5-self0.36
HardenedBSDdevel/p5-self0.36
GhostBSDdevel/p5-self0.36

Install

Binary package:

pkg install p5-self

From DPorts:

cd /usr/dports/devel/p5-self && make install clean

Dependencies

Run dependencies 5

No port depends on this one.