Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MakeMethods::Template:UsertContributed Perl DoMakeMethods::Template::Static(3)

NAME
       Class::MakeMethods::Template::Static - Deprecated name for Global

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

	 package main;

	 MyObject->foo('bar')
	 print MyObject->foo();
	 ...
	 print $my_instance->foo(); # same thing

DESCRIPTION
       Earlier versions	of this	package	included a package named
       Class::MakeMethods::Template::Static.

       However,	in hindsight, this name	was poorly chosen, as it suggests a
       constant, unchanging value, whereas the actual functionality is akin to
       traditional "global" variables.

       This functionality is now provided by
       Class::MakeMethods::Template::Global, of	which this is an empty
       subclass	retained to provide backwards compatibility.

SEE ALSO
       Class::MakeMethods::Template::Global.

perl v5.24.1			  2004-09-06  MakeMethods::Template::Static(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Class::MakeMethods::Template::Static&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help