Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Static Method | ||||||||
Line: 8 to 8 | ||||||||
StaticMethod defaultColor() | ||||||||
Changed: | ||||||||
< < | my $colour = Telecoms::defaultColor() | |||||||
> > | my $color = Telecoms::defaultColor() | |||||||
Related Topics: ClassMethod, ObjectMethod, DeveloperDocumentationCategory |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < | A StaticMethod is a method in a package that can be called without reference to an object of the package type. For example, | |||||||
> > | 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 Telecoms | ||||||||
Changed: | ||||||||
< < | StaticMethod defaultColour() | |||||||
> > | StaticMethod defaultColor() | |||||||
Changed: | ||||||||
< < | my $colour = Telecoms::defaultColour() | |||||||
> > | my $colour = Telecoms::defaultColor() | |||||||
Related Topics: ClassMethod, ObjectMethod, DeveloperDocumentationCategory |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
package TelecomsStaticMethod defaultColour()my $colour = Telecoms::defaultColour()Related Topics: ClassMethod, ObjectMethod, DeveloperDocumentationCategory |