r1 - 27 Mar 2005 - 13:14:15 - TWikiContributor?CmWiki  >  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 | key Log In
 
Copyright © 1998-2008 CM Crossroads LLC
Ideas, requests, problems regarding CmWiki?? Send feedback