A StaticMethod is a method in a package that can be called without reference to an object of the package type. For example,

package Telecoms

StaticMethod defaultColour()


my $colour = Telecoms::defaultColour()

Related Topics: ClassMethod, ObjectMethod, DeveloperDocumentationCategory







 
  • Suche in Topic-Namen

  • Suche in Topic-Inhalten
This site is powered by the TWiki collaboration platform Powered by Perl