1 package SomeModelClass;
3 use namespace::autoclean;
5 # Note trivial calling convention.
6 # Apply MX::Method::Signatures and MX::Types::Structured to be less lame.
8 # Introspection should only reflect methods which satisfy the calling convention
9 # This is left as an exercise to the reader. :)
12 my ($self, $name) = @_;
13 return("Hello $name");
16 __PACKAGE__->meta->make_immutable;