|
NAMEVenus::Role::Buildable - Buildable Role ABSTRACTBuildable Role for Perl 5 SYNOPSISpackage Example; use Venus::Class; with 'Venus::Role::Buildable'; attr 'test'; package main; my $example = Example->new; # $example->test; DESCRIPTIONThis package modifies the consuming package and provides methods for hooking into object construction of the consuming class, e.g. handling single-arg object construction. METHODSThis package provides the following methods: build_argbuild_arg(any $data) (hashref) The build_arg method, if defined, is only called during object construction when a single non-hashref is provided. Since 0.01
build_argsbuild_args(hashref $data) (hashref) The build_args method, if defined, is only called during object construction to hook into the handling of the arguments provided. Since 0.01
build_nilbuild_nil(hashref $data) (any) The build_nil method, if defined, is only called during object construction when a single empty hashref is provided. Since 0.01
build_selfbuild_self(hashref $data) (object) The build_self method, if defined, is only called during object construction after all arguments have been handled and set. Since 0.01
AUTHORSAwncorp, "awncorp@cpan.org" LICENSECopyright (C) 2022, Awncorp, "awncorp@cpan.org". This program is free software, you can redistribute it and/or modify it under the terms of the Apache license version 2.0.
|