GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CLASS::MAKEMETHODS::TEMPLATE::CLASS (3)

.ds Aq ’

NAME

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

CONTENTS

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MAKEMETHODS::TEMPLATE::CLASS (3) 2004-09-06

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.