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
Questo sito usa cookies, usandolo ne accettate la presenza. (CookiePolicy)
Torna al Dipartimento di Informatica |
|