evalEmpire / Mite

Mite - A zero dependency, fast loading, Moose-like Perl module
Other
3 stars 1 forks source link

Implement init_arg for attributes #24

Open schwern opened 10 years ago

schwern commented 10 years ago

init_arg is the expected key in an initialization hash.

For instance, if we have an "init_arg" value of "-foo", then the following code will Just Work.

MyClass->new( -foo => 'Hello There' );

See Class::MOP::Attribute for the original reference.

tobyink commented 2 years ago

I've moved the Mite issue tracker here.

This is now implemented.