r1 - 27 Mar 2005 - 13:14:15 GMT - TWikiContributorYou are here: Bernstein > TWiki Web >  ObjectMethod > ClassMethod
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

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
The Bernstein Website
Copyright © by the contributing authors.
Bernstein - The Memory of Paper http://www.bernstein.oeaw.ac.at
Ideas, requests, problems regarding Bernstein? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.ClassMethod
This site is powered by the TWiki collaboration platform