Tags:
create new tag
, view all tags

Static Method

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 defaultColor()

my $colour = Telecoms::defaultColor()

Related Topics: ClassMethod, ObjectMethod, DeveloperDocumentationCategory

Topic revision: r2 - 24 Jun 2010 - TWikiContributor
 
This site is powered by the TWiki collaboration platformCopyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.StaticMethod.