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 2016 The Board of Trustees of the University of Illinois.webmaster@cs.uic.edu |
WISEST Helping Women Faculty Advance Funded by NSF | ![]() | ![]() |