Changes for version 0.015 - 2013-11-07
- BACK COMPAT
- Change the syntax of lexical functions and methods to include the `my` keyword in their declaration.
- Bug Fixes
- $sub->signature now returns undef if no signature was given in the declaration.
- Most of the closure issues associated with Parse::Keyword are now worked around.
- Documentation
- Document that fun ($x, $y=$x) {...} doesn't work how you might expect it to, and some work-arounds.
- Test Suite
- Tidy up some of the closure tests.
- Other
- Checking if @_ < 0 is silly; stop doing that.
Documentation
- Kavorka::Manual - how to obtain the lure of the animal
- Kavorka::Manual::API - the introspection API
- Kavorka::Manual::Functions - fun keyword
- Kavorka::Manual::MethodModifiers - before/after/around keywords
- Kavorka::Manual::Methods - method/classmethod/objectmethod keywords
- Kavorka::Manual::MultiSubs - multi subs and multi methods
- Kavorka::Manual::PrototypeAndAttributes - the more rarely used features of Perl subroutines
- Kavorka::Manual::Signatures - experience the lure of the animal
Modules
- Kavorka - function signatures with the lure of the animal
- Kavorka::Signature - a function signature
- Kavorka::Signature::Parameter - a single parameter in a function signature
- Kavorka::Sub - a function that has been declared
- MooseX::KavorkaInfo - make Kavorka->info available through Moose meta objects
Provides
- Kavorka::MethodModifier in lib/Kavorka/MethodModifier.pm
- Kavorka::Multi in lib/Kavorka/Multi.pm
- Kavorka::Signature::ReturnType in lib/Kavorka/Signature/ReturnType.pm
- Kavorka::Sub::After in lib/Kavorka/Sub/After.pm
- Kavorka::Sub::Around in lib/Kavorka/Sub/Around.pm
- Kavorka::Sub::Before in lib/Kavorka/Sub/Before.pm
- Kavorka::Sub::ClassMethod in lib/Kavorka/Sub/ClassMethod.pm
- Kavorka::Sub::Fun in lib/Kavorka/Sub/Fun.pm
- Kavorka::Sub::Method in lib/Kavorka/Sub/Method.pm
- Kavorka::Sub::ObjectMethod in lib/Kavorka/Sub/ObjectMethod.pm
- MooseX::KavorkaInfo::DummyInfo in lib/MooseX/KavorkaInfo.pm
- MooseX::KavorkaInfo::Trait::Method in lib/MooseX/KavorkaInfo.pm
- MooseX::KavorkaInfo::Trait::WrappedMethod in lib/MooseX/KavorkaInfo.pm
- Parse::KeywordX in lib/Parse/KeywordX.pm