NAME

CLASS - Alias for __PACKAGE__

SYNOPSIS

package Foo;
use CLASS;

print CLASS;          # Foo

sub bar { 23 }

print CLASS->bar;     # 23

DESCRIPTION

CLASS is a synonym for __PACKAGE__. Its easier to type.

TODO

I tried to provide a $CLASS for easier use in strings, but it doesn't quite evaluate right when used as a function argument.

AUTHOR

Michael G Schwern <schwern@pobox.com>

SEE ALSO

perlmod(1)