| NOTE: This web contains the official documentation of the TWiki Release 4.1, code named EdinburghRelease. It is a read-only web for reference. Please update documentation at TWiki.ObjectMethod. -- PeterThoeny - 30 Mar 2007 |
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