Multiple Dispatch and Subroutine Overloading in Perl Damian Conway

18/8/99


Click here to start


Table of Contents

Multiple Dispatch and Subroutine Overloading in Perl Damian Conway

Take your average windowing system...

Take your average windowing system...

Take your average windowing system...

Take your average windowing system...

Multiple dispatch 101

Multiple dispatch 101

Multiple dispatch 101

Hand crafted multiple dispatch

Multimethods

Multimethods

Class::Multimethods

Class::Multimethods

Class::Multimethods

Defining multimethods

Defining multimethods

Defining multimethods

Defining multimethods

Defining multimethods

Finding the "nearest" multimethod

Finding the "nearest" multimethod

Finding the "nearest" multimethod

Finding the "nearest" multimethod

Finding the "nearest" multimethod

Finding the "nearest" multimethod

Finding the "nearest" multimethod

Finding the "nearest" multimethod

Finding the "nearest" multimethod

Finding the "nearest" multimethod

Subroutine overloading

Subroutine overloading

Subroutine overloading

Non-class types as parameters

Non-class types as parameters

Non-class types as parameters

Non-class types as parameters

Non-class types as parameters

Non-class types as parameters

Non-class types as parameters

Non-class types as parameters

Non-class types as parameters

Recursive multiple dispatch

Recursive multiple dispatch

Recursive multiple dispatch

Recursive multiple dispatch

Recursive multiple dispatch

Recursive multiple dispatch

Recursive multiple dispatch

Other features

Other features

Other features

Summary

Summary

Questions?

Author: Damian Conway

Email: damian@csse.monash.edu.au

Home Page: http://www.csse.monash.edu.au/~damian/