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

FreeBSD Manual Pages

  
 
  

home | help
MakeMethods::Template:UsersContributed Perl DocMakeMethods::Template::Class(3)

NAME
       Class::MakeMethods::Template::Class - Associate information with	a
       package

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	"Generic:scalar" for interfaces	and behaviors.

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

       See the documentation on	"Generic:array"	for interfaces and behaviors.

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

       See the documentation on	"Generic:hash" for interfaces and behaviors.

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

NAME | SYNOPSIS | DESCRIPTION

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

home | help