A ClassMethod 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

ClassMethod new()

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


Related Topics: StaticMethod, ObjectMethod
Topic revision: r1 - 28 Mar 2022, UnknownUser

  • Categories
Could not perform search. Error was: Error in tempfile() using template /tmp/STDERR.101117.XXXXXXXXXX: Could not create temp file /tmp/STDERR.101117.i9voRkjNmA: No such file or directory

This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback