Skip Menu |

This queue is for tickets about the Kavorka CPAN distribution.

Report information
The Basics
Id: 91557
Status: resolved
Priority: 0/
Queue: Kavorka

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Perhaps make `fun` and `method` install methods at compile time.
This could be optional using something like: method foo () but at(BEGIN) { ... } ... but perhaps make it the default, and make run-time installation the option? Reasoning: package Foo { use Moo::Role; requires 'foo'; } package Bar { use Moo; use Kavorka; method foo { 1 } with 'Foo'; # works } package Baz { use Moo; use Kavorka; with 'Foo'; # dies; method 'foo' not defined yet! method foo { 1 } }
`but begin` was added in Kavorka 0.029.