Query: rose::class
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Rose::Class(3pm) User Contributed Perl Documentation Rose::Class(3pm)NAMERose::Class - A very simple class base class.SYNOPSISpackage MyClass; use Rose::Class; our @ISA = qw(Rose::Class); sub foo { ... } ... MyClass->foo(...) or die MyClass->error; ...DESCRIPTIONRose::Class is a generic base class for classes. It provides a single class method ("error"), but may be expanded further in the future. A class that inherits from Rose::Class is not expected to allow objects of that class to be instantiated, since the namespace for class and object methods is shared. For example, it is common for Rose::Object-derived classes to have "error" methods, but this would conflict with the Rose::Class method of the same name.CLASS METHODSerror [ERROR] Get or set the class-wide error. By convention, this should be a scalar that stringifies to an error message. A simple scalar containing a string is the most commonly used value.AUTHORJohn C. Siracusa (siracusa@gmail.com)LICENSECopyright (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::Class(3pm)
Related Man Pages |
---|
class::accessor::children::fast(3pm) - debian |
class::errorhandler(3pm) - debian |
class::whitehole(3pm) - debian |
rose::object(3pm) - debian |
rose::object::mixin(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Is UNIX an open source OS ? |
Introduction |
One instance of comparing grep and awk |