You are here: CTSPedia>System Web>ObjectMethod>ClassMethod>StaticMethod (09 Jan 2009, ProjectContributor?)EditAttach
Tags:
create new tag
, view all tags, tagging instructions
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

Topic revision: r1 - 09 Jan 2009 - 06:00:00 - 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 CTSPedia? Send feedback