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

This topic: System > Category > DeveloperDocumentationCategory > ObjectMethod > ClassMethod > StaticMethod
Topic revision: 27 Feb 2018, UnknownUser
Copyright 2020 Sheriff Cyber Security, LLC. All rights reserved.