Difference: StaticMethod (1 vs. 3)

Revision 32013-09-25 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="ClassMethod"

Static Method

Line: 8 to 8
 

StaticMethod defaultColor()

Changed:
<
<
my $colour = Telecoms::defaultColor()
>
>
my $color = Telecoms::defaultColor()
 

Related Topics: ClassMethod, ObjectMethod, DeveloperDocumentationCategory

Revision 22010-06-24 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="ClassMethod"
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 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

Changed:
<
<

StaticMethod defaultColour()

>
>

StaticMethod defaultColor()

 
Changed:
<
<
my $colour = Telecoms::defaultColour()
>
>
my $colour = Telecoms::defaultColor()
 

Related Topics: ClassMethod, ObjectMethod, DeveloperDocumentationCategory

Revision 12005-03-27 - TWikiContributor

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="ClassMethod"
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, DeveloperDocumentationCategory

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.StaticMethod.