SYNOPSIS

  package MyObject;
  use Class::MakeMethods::Template::Class (
    scalar          => [ 'foo' ]
  );

  package main;

  MyObject->foo('bar')
  print MyObject->foo();

DESCRIPTION

These meta-methods provide access to class-specific values. They are similar to Static, except that each subclass has separate values.

Class:scalar

Creates methods to handle a scalar variable in the declaring package.

See the documentation on \*(C`Generic:scalar\*(C' for interfaces and behaviors.

Class:array

Creates methods to handle a array variable in the declaring package.

See the documentation on \*(C`Generic:array\*(C' for interfaces and behaviors.

Class:hash

Creates methods to handle a hash variable in the declaring package.

See the documentation on \*(C`Generic:hash\*(C' for interfaces and behaviors.