key Log In or Register to edit

A Class Method is a method that must be called relative to the containing class object. This normally only applies to the new method used to create new object instances. For example,

package Telecoms

Class Method new()

my $mobile = new Telecoms();
or
my $mobile = Telecoms->new();

Related Topics: Developer Documentation Category, Static Method, Object Method

 
Ad Sponsor
Back to Redbourn
Copyright © We make no guarantee of the correctness of the content of this site. All material on this collaboration platform is the property of Martin Cleaver and the contributing authors.