NAME
Data::Object::Role::Buildable
ABSTRACT
Buildable Role for Perl 5
SYNOPSIS
DESCRIPTION
This package provides methods for hooking into object construction of the consuming class, e.g. handling single-arg object construction.
SCENARIOS
This package supports the following scenarios:
buildarg
This package supports handling a build_arg
method, as a hook into object construction, which is called and passed a single argument if a single argument is passed to the constructor.
buildargs
This package supports handling a build_args
method, as a hook into object construction, which is called and passed a hashref
during object construction.
buildself
This package supports handling a build_self
method, as a hook into object construction, which is called and passed a hashref
during object construction. Note: Manipulating the arguments doesn't effect object's construction or properties.
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".