So, the standard Perl naming convention is snake_case, but I'm writing a module for interacting with the REST API that uses camelCase, creating objects with a Moose framework. I would prefer objects to work with any occasion, but I can't get a few Moose-y accessories. The only thing I could think of was this:
has 'full_name' => ( is => 'rw', isa => 'Str', ); sub fullName {return shift->full_name(@_)};
Best way to do this with Moose built-in modules?
source share