1
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.1" version="1"}%
2
An ObjectMethod is a method that must be called relative to a previous constructed object of the class type. For example:
5
---++ ClassMethod new()
6
---++ ObjectMethod phone( $who )
8
must be called something like this
11
my $mobile = new Telecoms();
12
$mobile->phone( "home" );
14
or you can pass the object in as a parameter if you need to:
16
Telecoms::phone( $mobile, "home" );
20
*Related Topics:* ClassMethod, StaticMethod