__ - alias __::__ to __PACKAGE__
__::__
__PACKAGE__
Now you can write:
package Awesome; use __; __::__->some_class_method;
instead of:
__PACKAGE__->some_class_method;
Think of the time you'll save.
mst on #moose:
mst
#moose
<mst> Penfold: sub __::__ { scalar caller() } [12:23]
Jonathan Rockway jrockway@cpan.org
jrockway@cpan.org
Public domain.
To install __, copy and paste the appropriate command in to your terminal.
cpanm
cpanm __
CPAN shell
perl -MCPAN -e shell install __
For more information on module installation, please visit the detailed CPAN module installation guide.