CURRENT - Alias of current class


CURRENT documentation  | view source Contained in the CURRENT distribution.

Index


NAME

Top

CURRENT - Alias of current class

SYNOPSIS

Top

    package LONG::LONG::LONG::LONG::Class;

    require CURRENT;

    sub _my_method {}

    $self->CURRENT::_my_method();
    # same as
    $self->LONG::LONG::LONG::LONG::Class::_my_method();

DESCRIPTION

Top

CURRENT.pm adds class CURRENT. When a method m is called as $self->CURRENT::m, __PACKAGE__::m is called.

Note that CURRENT only supports calling method.

This helps calling a local method in a long name class.

CURRENT.pm supports AUTOLOAD, also.

AUTHOR

Top

Yuji Tamashiro, <yuji@tamashiro.org>

COPYRIGHT AND LICENSE

Top


CURRENT documentation  | view source Contained in the CURRENT distribution.