summaryrefslogtreecommitdiff
path: root/devel/p5-self/pkg-descr
blob: 92bca0a7d8a836cd4abbc9ea0efd319aacd8611e (plain) (blame)
1
2
3
4
5
6
7
8
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..$#_].

WWW: https://metacpan.org/release/self