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

ClassMethod new()

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

Related Topics: StaticMethod, ObjectMethod, DeveloperDocumentationCategory

r2 - 24 Jun 2010 - 03:48:47 - TWikiContributor
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Atmel® and others, are registered trademarks or trademarks of Atmel Corporation or its subsidiaries.
ARM® and others are registered trademarks or trademarks of ARM Ltd. Other terms and product names may be trademarks of others.
Windows® and others are registered trademarks of Microsoft Corporation in US and/or other countries.
Syndicate this site RSSATOM