Difference: StaticMethod ( vs. 1)

Revision 127 Mar 2005 - Main.TWikiContributor

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="ClassMethod"
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

 
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Proyecto META? Send feedback