Difference: ClassMethod (1 vs. 2)

Revision 224 Jun 2010 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="ObjectMethod"
Changed:
<
<
A ClassMethod is a method that must be called relative to the containing class object. This normally only applies to the new method used to create new object instances. For example,
>
>

Class Method

A ClassMethod is a method that must be called relative to the containing class object. This normally only applies to the new method used to create new object instances. For example,

 

package Telecoms

Changed:
<
<

ClassMethod new()

>
>

ClassMethod new()

 
my $mobile = new Telecoms();
Line: 13 to 15
 my $mobile = Telecoms->new();
Changed:
<
<
Related Topics: DeveloperDocumentationCategory, StaticMethod, ObjectMethod
>
>
Related Topics: StaticMethod, ObjectMethod, DeveloperDocumentationCategory

Revision 127 Mar 2005 - TWikiContributor

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="ObjectMethod"
A ClassMethod is a method that must be called relative to the containing class object. This normally only applies to the new method used to create new object instances. For example,

package Telecoms

ClassMethod new()

my $mobile = new Telecoms();
or
my $mobile = Telecoms->new();

Related Topics: DeveloperDocumentationCategory, StaticMethod, ObjectMethod

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.ClassMethod.