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() <verbatim class="perl"> my $mobile = new Telecoms(); </verbatim> or <verbatim class="perl"> my $mobile = Telecoms->new(); </verbatim> --- *Related Topics:* StaticMethod, ObjectMethod <!-- %JQREQUIRE{"chili"}% -->
This topic: System
>
WebHome
>
ReferenceManual
>
DeveloperDocumentationCategory
>
ObjectMethod
>
ClassMethod
Topic revision:
09 Jan 2009,
ProjectContributor
(raw view)
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback