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

This topic: System > Category > DeveloperDocumentationCategory > ObjectMethod > ClassMethod
Topic revision: 17 Jun 2022, ProjectContributor

© 2025 D.Soost & D.Marxsen - All rights reserved
© Of all articles by authors
Trademarks are the property of their respective owners
© Logo by Wikipedia, modified by Administrator
Impressum
Disclaimer
Datenschutzerklärung