NAME Data::Object::Role::Formulatable ABSTRACT Formulatable Role for Perl 5 SYNOPSIS package Test::Person; use registry; use routines; use Data::Object::Class; use Data::Object::ClassHas; with 'Data::Object::Role::Formulatable'; has 'name'; has 'dates'; sub formulate { { name => 'test/data/str', dates => 'test/data/str' } } package main; my $person = Test::Person->new({ name => 'levi nolan', dates => ['1587717124', '1587717169'] }); # $person->name; # # $person->dates; # [] DESCRIPTION This package provides a mechanism for automatically inflating objects from constructor arguments. INTEGRATES This package integrates behaviors from: Data::Object::Role::Buildable Data::Object::Role::Errable Data::Object::Role::Stashable Data::Object::Role::Tryable LIBRARIES This package uses type constraints from: Types::Standard AUTHOR Al Newkirk, awncorp@cpan.org LICENSE Copyright (C) 2011-2019, Al Newkirk, et al. This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file" . PROJECT Wiki Project Initiatives Milestones Contributing Issues