r1 - 27 Mar 2005 - 13:14:15 - TWikiContributor?CmWiki  >  TWiki Web  >  ObjectMethod > ClassMethod  >  StaticMethod
A StaticMethod is a method in a package that can be called without reference to an object of the package type. For example,

package Telecoms

StaticMethod defaultColour()


my $colour = Telecoms::defaultColour()

Related Topics: ClassMethod, ObjectMethod, DeveloperDocumentationCategory

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