Home - this site is powered by TWiki(R)
TWiki  StaticMethod (2 vs. 3)

Welcome | Register | Changes | Topics | Index | Search | Go

 <<O>>  Difference Topic StaticMethod (3 - 2013-09-25 - TWikiContributor)
 
META TOPICPARENT name="ClassMethod"

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

Changed:
<
<
my $colour = Telecoms::defaultColor()
>
>
my $color = Telecoms::defaultColor()
 

Related Topics: ClassMethod, ObjectMethod, DeveloperDocumentationCategory


View | History: r3 < r2 < r1 | More

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2025 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.

(%REVTITLE2% vs. %REVTITLE1%) StaticMethod < TWiki < TWiki