
Static MethodA StaticMethod is a method in a package that can be called without reference to an object of the package type. For example,package TelecomsStaticMethod defaultColor() | ||||||||
| Changed: | ||||||||
| < < | my $colour = Telecoms::defaultColor() | |||||||
| > > | my $color = Telecoms::defaultColor() | |||||||
| Related Topics: ClassMethod, ObjectMethod, DeveloperDocumentationCategory | ||||||||