my $mobile = new Telecoms(); $mobile->phone( "home" );or you can pass the object in as a parameter if you need to:
Telecoms::phone( $mobile, "home" );Related Topics: ClassMethod, StaticMethod, DeveloperDocumentationCategory
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Microchip and others, are registered trademarks or trademarks of Microchip Technology Inc. and its subsidiaries.
Arm® and others are registered trademarks or trademarks of Arm Limited (or its affiliates). Other terms and product names may be trademarks of others.
Ideas, requests, contributions ? Connect to LinksToCommunities page.