A Static Method is a method in a package that can be called without reference to an object of the package type. For example,

package Telecoms

Static Method defaultColour()


my $colour = Telecoms::defaultColour()

Related Topics: Class Method, Object Method
Topic revision: r1 - 13 Mar 2014, ProjectContributor
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback