p5-mop-redux icon indicating copy to clipboard operation
p5-mop-redux copied to clipboard

A(nother) MOP for Perl 5

Results 34 p5-mop-redux issues
Sort by recently updated
recently updated
newest added

See https://github.com/stevan/p5-mop-redux/issues/147

bug

- Test cases for overloading, including a TODO (for which I'll file a separate issue). - Allow attributes to take part in overloading without needing an accessor. This only makes...

enhancement
needs-rebase
needs-changes

I've changed the behavior of generated accessors for static class. I think the best way is to read or change the default value of an attribute. This is the same...

I'm not sure why required methods are not regular mop::method instances, just without a body? I wrote a simple Pod::Coverage class for mop, but I just noticed it does not...

When a required method has a signature it is not treated as required: ``` # OK class Foo is abstract { method validate; } # NOT OK class Foo is...

It would be nice to be able to do: ``` mop::meta("Foo::Baz")->set_superclass("Foo::Bar"); ``` Setting a class' superclass in normal runtime code is (naturally) insanity. But setting it within a class trait...

enhancement

Might be nice to be able to define multiple attributes with `has ($!foo, $!bar);`, just like in Perl6, and analogous to `my ($foo, $bar);`.

I've wound up with a non-deterministic bug because I've set the value from an attribute in the constructor, but the default value of a different attribute relies on the first...

needs-design

**NOTE** This is from an email sent to me by Pete A., it is his idea, but I really like it. – Stevan --- In Common Lisp there is custom...

enhancement
needs-design

sub is not used for methods, traits should have their own keyword too. This could hide away some of the boilerplate too.

enhancement
needs-more-information