debian man page for rose::object

Query: rose::object

OS: debian

Section: 3pm

Links: debian man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Rose::Object(3pm)					User Contributed Perl Documentation					 Rose::Object(3pm)

NAME
Rose::Object - A simple object base class.
SYNOPSIS
package MyObject; use Rose::Object; our @ISA = qw(Rose::Object); sub foo { ... } sub bar { ... } ... my $o = MyObject->new(foo => 'abc', bar => 5); ...
DESCRIPTION
Rose::Object is a generic object base class. It provides very little functionality, but a healthy dose of convention.
METHODS
new PARAMS Constructs a new, empty, hash-based object based on PARAMS, where PARAMS are name/value pairs, and then calls init (see below), passing PARAMS to it unmodified. init PARAMS Given a list of name/value pairs in PARAMS, calls the object method of each name, passing the corresponding value as an argument. The methods are called in the order that they appear in PARAMS. For example: $o->init(foo => 1, bar => 2); is equivalent to the sequence: $o->foo(1); $o->bar(2);
AUTHOR
John C. Siracusa (siracusa@gmail.com)
LICENSE
Copyright (c) 2010 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-10-17 Rose::Object(3pm)
Related Man Pages
rose(4) - debian
object::role(3pm) - debian
rose::object(3pm) - debian
rose::object::makemethods::generic(3pm) - debian
rose::object::mixin(3pm) - debian
Similar Topics in the Unix Linux Community
Have you?
What dose ____EOF____ mean ?
SPT Object Database 0.2.0 (Default branch)
Banks & Bullets: Maybe They Dodged One - But Still Needs Some Silver Ones!
Need to pass parameters to an "at" script...