39 lines
647 B
Plaintext
39 lines
647 B
Plaintext
|
head 1.1;
|
||
|
access;
|
||
|
symbols;
|
||
|
locks; strict;
|
||
|
comment @# @;
|
||
|
|
||
|
|
||
|
1.1
|
||
|
date 2006.02.01.12.01.18; author TWikiContributor; state Exp;
|
||
|
branches;
|
||
|
next ;
|
||
|
|
||
|
|
||
|
desc
|
||
|
@new-topic
|
||
|
@
|
||
|
|
||
|
|
||
|
1.1
|
||
|
log
|
||
|
@buildrelease
|
||
|
@
|
||
|
text
|
||
|
@%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="1"}%
|
||
|
%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()
|
||
|
|
||
|
<verbatim>
|
||
|
|
||
|
my $colour = Telecoms::defaultColour()
|
||
|
|
||
|
</verbatim>
|
||
|
|
||
|
__Related Topics:__ ClassMethod, ObjectMethod, DeveloperDocumentationCategory
|
||
|
@
|