Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r1
ObjectMethod 1 - 27 Mar 2005 - Main.TWikiContributor
Line: 1 to 1
Added:
>
>
META TOPICPARENT name="HomeTwikiDEVELOPLibTWikiDotPm"
An ObjectMethod is a method that must be called relative to a previous constructed object of the class type. For example:

package Telecoms

ClassMethod new()

ObjectMethod phone( $who )

must be called something like this

my $mobile = new Telecoms();
$mobile->phone( "home" );
or you can pass the object in as a parameter if you need to:
Telecoms::phone( $mobile, "home" );

Related Topics: ClassMethod, StaticMethod, DeveloperDocumentationCategory


Revision 1r1 - 27 Mar 2005 - 13:14:15 - TWikiContributor
This site is powered by the TWiki collaboration platform.
All material on this collaboration platform is the property of the contributing authors.
All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
Syndicate this site RSSATOM