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

This topic: TWiki > HomeTwikiDEVELOPLibTWikiDotPm? > ObjectMethod > ClassMethod > StaticMethod
History: r1 - 27 Mar 2005 - 13:14 - 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.
Ideas, requests, problems regarding FS? Send feedback