1MakeMethods::Template::USsteartiCco(n3t)ributed Perl DocMuamkeenMteatthioodns::Template::Static(3)
2
3
4

NAME

6       Class::MakeMethods::Template::Static - Deprecated name for Global
7

SYNOPSIS

9         package MyObject;
10         use Class::MakeMethods::Template::Global (
11           scalar          => [ 'foo' ]
12         );
13
14         package main;
15
16         MyObject->foo('bar')
17         print MyObject->foo();
18         ...
19         print $my_instance->foo(); # same thing
20

DESCRIPTION

22       Earlier versions of this package included a package named
23       Class::MakeMethods::Template::Static.
24
25       However, in hindsight, this name was poorly chosen, as it suggests a
26       constant, unchanging value, whereas the actual functionality is akin to
27       traditional "global" variables.
28
29       This functionality is now provided by
30       Class::MakeMethods::Template::Global, of which this is an empty
31       subclass retained to provide backwards compatibility.
32

SEE ALSO

34       Class::MakeMethods::Template::Global.
35
36
37
38perl v5.32.1                      2021-01-27  MakeMethods::Template::Static(3)
Impressum