|
NameMo::coerce - Adds the coerce feature to Mo's hasSynopsisuse Mo qw'coerce'; has name => ( coerce => sub { uc $_[0] } ); DescriptionAdds the coerce parameter to has, which expects a code reference, which is used to transform the value to be set.
Visit the GSP FreeBSD Man Page Interface. |