
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| 
 | ||||||||
| Changed: | ||||||||
| < < | A ClassMethod is a method that must be called relative to the containing class object. This normally only applies to the newmethod used to create new object instances. For example, | |||||||
| > > | Class MethodA ClassMethod is a method that must be called relative to the containing class object. This normally only applies to thenewmethod used to create new object instances. For example, | |||||||
| package Telecoms | ||||||||
| Changed: | ||||||||
| < < | ClassMethod new() | |||||||
| > > | ClassMethod new() | |||||||
| my $mobile = new Telecoms(); | ||||||||
| Line: 13 to 15 | ||||||||
| my $mobile = Telecoms->new(); | ||||||||
| Changed: | ||||||||
| < < | Related Topics: DeveloperDocumentationCategory, StaticMethod, ObjectMethod | |||||||
| > > | Related Topics: StaticMethod, ObjectMethod, DeveloperDocumentationCategory | |||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||
| > > | 
 newmethod used to create new object instances. For example,package TelecomsClassMethod new()my $mobile = new Telecoms();or my $mobile = Telecoms->new();Related Topics: DeveloperDocumentationCategory, StaticMethod, ObjectMethod | |||||||
 
  Copyright © 1999-2015 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Copyright © 1999-2015 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.