Home | Gifts

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 $color = Telecoms::defaultColor()

Related Topics: ClassMethod, ObjectMethod, DeveloperDocumentationCategory

Revision r3 - 2013-09-25 - 19:36:34 - TWikiContributor Edit