Class::MakeMethods::Template::Scalar man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

MakeMethods::Template:UserlContributed Perl DoMakeMethods::Template::Scalar(3)

NAME
       Class::MakeMethods::Template::Scalar - Methods for blessed scalars

SYNOPSIS
	 package MyObject;
	 use Class::MakeMethods::Template::ExternalData (
	   new		   => 'new',
	   scalar	   => 'foo',
	 );

	 package main;

	 my $obj = MyObject->new( foo => "Foozle" );
	 print $obj->foo();	       # Prints Foozle
	 $obj->foo("Bamboozle");       # Sets $$obj
	 print $obj->foo();	       # Prints Bamboozle

DESCRIPTION
       Supports the Generic object constructor and accessors meta-method
       types, but uses scalar refs as the underlying implementation type, so
       only one accessor method can be used effectively.

   Standard Methods
       The following methods from Generic are all supported:

	 new
	 scalar
	 string
	 string_index
	 number
	 boolean
	 bits
	 array
	 hash
	 tiedhash
	 hash_of_arrays
	 object
	 instance
	 array_of_objects
	 code
	 code_or_scalar

       See Class::MakeMethods::Template::Generic for the interfaces and
       behaviors of these method types.

       However, note that due to special nature of this package, all accessor
       methods reference the same scalar value, so setting a value with one
       method will overwrite the value retrieved by another.

perl v5.14.2			  2004-09-06  MakeMethods::Template::Scalar(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net