1MakeMethods::Template::UCslearssC(o3n)tributed Perl DocuMmaeknetMaettihoonds::Template::Class(3)
2
3
4

NAME

6       Class::MakeMethods::Template::Class - Associate information with a
7       package
8

SYNOPSIS

10         package MyObject;
11         use Class::MakeMethods::Template::Class (
12           scalar          => [ 'foo' ]
13         );
14
15         package main;
16
17         MyObject->foo('bar')
18         print MyObject->foo();
19

DESCRIPTION

21       These meta-methods provide access to class-specific values. They are
22       similar to Static, except that each subclass has separate values.
23
24       Class:scalar
25
26       Creates methods to handle a scalar variable in the declaring package.
27
28       See the documentation on "Generic:scalar" for interfaces and behaviors.
29
30       Class:array
31
32       Creates methods to handle a array variable in the declaring package.
33
34       See the documentation on "Generic:array" for interfaces and behaviors.
35
36       Class:hash
37
38       Creates methods to handle a hash variable in the declaring package.
39
40       See the documentation on "Generic:hash" for interfaces and behaviors.
41
42
43
44perl v5.8.8                       2004-09-06   MakeMethods::Template::Class(3)
Impressum