lecture in color

Perl 6: Apocalypse?

Disclaimer

Caveats

If it ain't broke, break it!

A quick tour

Regularization

Replacing string '.' and stringification

Printing:

Contexts

Types

Note on scalar subtypes

Scalars and system types

References are implied

Aliases require new operator :=

Subroutines and methods

Subroutine invocations

Some big traps

Subroutine declarations

Subroutine parameters

Optional parameters

Naming parameters

Varadic argument lists

Varadic argument binding.

Argument list surgery (Lisp, Prolog)

Arity

Piping arguments

Types

Type declarations

Tying in Perl 6

Compound types

Junctive types

Global scope

Lvalues

Operator changes

Other changes

Operator overloading

Perl's becoming APL!

Traits

Regular expressions

A few last words

The "Great Man theory of history" - not

Lessons learned


lecture in color


downloaded on Nov-23-2009 03:55:00 PM,
was last modified on Dec-31-1969 07:00:00 PM.

All lecture note content is copyright 2003 by
Alva L. Couch, Computer Science, Tufts University
(couch at cs dot tufts dot edu)