• This web contains the official documentation of the TWiki Release 4.0.2, code named DakarRelease. It is a read-only web for reference.
• This is an older release, see TWiki-6.1 for the latest release documentation.
Tags:
create new tag
view all tags
An ObjectMethod is a method that must be called relative to a previous constructed object of the class type. For example:

package Telecoms

ClassMethod new()

ObjectMethod phone( $who )

must be called something like this

my $mobile = new Telecoms();
$mobile->phone( "home" );
or you can pass the object in as a parameter if you need to:
Telecoms::phone( $mobile, "home" );

Related Topics: ClassMethod, StaticMethod, DeveloperDocumentationCategory

Topic revision: r1 - 2005-03-27 - TWikiContributor
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.