class::makemethods::template::struct(3pm) debian man page | unix.com

Man Page: class::makemethods::template::struct

Operating Environment: debian

Section: 3pm

MakeMethods::Template::Struct(3pm)			User Contributed Perl Documentation			MakeMethods::Template::Struct(3pm)

NAME
Class::MakeMethods::Template::Struct - Deprecated name for Array
SYNOPSIS
package MyObject; use Class::MakeMethods::Template::Array ( 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->[1]
DESCRIPTION
Earlier versions of this package included a package named Class::MakeMethods::Template::Struct. However, in hindsight, this name was poorly chosen, as it suggests some connection to C-style structs, where the behavior implemented more simply parallels the functionality of Template::Hash and the other Generic subclasses. This functionality is now provided by Class::MakeMethods::Template::Array, of which this is an empty subclass retained to provide backwards compatibility.
SEE ALSO
Class::MakeMethods::Template::Array. perl v5.10.1 2004-09-06 MakeMethods::Template::Struct(3pm)
Related Man Pages
class::makemethods::basic(3pm) - debian
class::makemethods::emulator(3pm) - debian
class::makemethods::template::global(3pm) - debian
class::makemethods::template::inheritable(3pm) - debian
class::makemethods::template::packagevar(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Is UNIX an open source OS ?
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
A (ksh) Library For and From UNIX.com