The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Data::Hopen::Class - Class::Tiny base class supporting new(-arg => value)

SYNOPSIS

This is the same as Class::Tiny except for a custom BUILDARGS() method that permits you to put hyphens in front of the argument names in the constructor call. This provides consistency with Getargs::Mixed.

FUNCTIONS

BUILDARGS

Pre-process the constructor arguments to strip leading hyphens from argument names.

Note: Class::Tiny prohibits attributes named - (a single hyphen), so we don't handle that case.