Apocalypse 12
by Larry WallApril 16, 2004
- Some of the Problems with Perl 5 OO
- Perl 5 Non-Problems
- Trust in Convention, But Keep Your Powder Dry
- An Easy Example
- Classes
- Methods
- Class Methods
- Submethods
- Attributes
- Class Attributes
- Object Construction
- Object Deconstruction
- Dispatch Mechanisms
- Multiple Dispatch
- Overloading
- Class Composition with Roles
- Traits
- Delegation
- Types and Subtypes
- Enums
- Open vs. Closed Classes
- Interface Consistency
- Collections of Classes
- Versioning
- Introspection
- Other Non-OO Decisions
- Exportation
- The gather/take construct
:foo()adverbs- Special quoting of identifiers inside curlies going away
- Vector operators renamed back to "hyper" operators
- Unary hyper operators now use one quote rather than two
$thumb.twiddleno longer requires parens when interpolated- The =:= identity operator
- New grammatical categories
- Assignment
to
statevariable declaration now does "first" semantics - The
length()function is gone - String positions
- The new "&" separator in Regexen
- Optional Mandatory Cross-Disciplinary Joke for People Tired of Dogs
- Future Directions
- References...er, Reference...
|
Related Reading
Perl 6 Essentials |
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 |

