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::FLYWEIGHT (3)

.ds Aq ’

NAME

Class::MakeMethods::Template::Flyweight - Deprecated name for InsideOut

CONTENTS

SYNOPSIS



  package MyObject;
  use Class::MakeMethods::Template::InsideOut (
    new             => [ new ]
    scalar          => [ foo, bar ]
  );
 
  package main;

  my $obj = MyObject->new( foo => "Foozle", bar => "Bozzle" );
  print $obj->foo();            # Prints Foozle
  $obj->bar("Bamboozle");       # Sets $obj->{bar}



DESCRIPTION

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

However, in hindsight, this name was poorly chosen, as it suggests that the Flyweight object design pattern is being used, when the functionality is more akin to what’s sometimes known as inside-out objects.

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

SEE ALSO

Class::MakeMethods::Template::InsideOut.
Search for    or go to Top of page |  Section 3 |  Main Index


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

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