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

 
Copyright 2016 The Board of Trustees
of the University of Illinois.webmaster@cs.uic.edu
WISEST
Helping Women Faculty Advance
Funded by NSF