
| 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 new method 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 thenew method 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: | ||||||||
| > > |
new method 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 | |||||||