NAME
MooX::Keyword::Factory - Moo attribute factories
VERSION
Version 1.00
SYNOPSIS
Quick summary of what the module does.
Perhaps a little code snippet.
package
Factory;
use
Moo;
factory
worker
=> Name, Email,
sub
{
...
return
2;
};
factory
worker
=> Name, Email, Phone,
sub
{
...
return
3;
};
factory
worker
=> Name, Email, PostCode,
sub
{
...
return
3;
};
factory
worker
=> Name, Email, Phone, PostCode,
sub
{
...
return
4;
};
1;
...
my
$factory
= Factory->new();
$factory
->worker(
$name
,
);
# 2
$factory
->worker(
$name
,
,
$phone
);
# 3
$factory
->worker(
$name
,
,
$postcode
);
# 3
$factory
->worker(
$name
,
,
$phone
,
$postcode
);
# 4
AUTHOR
LNATION, <email at lnation.org>
BUGS
Please report any bugs or feature requests to bug-moox-keyword-factory at rt.cpan.org
, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooX-Keyword-Factory. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc MooX::Keyword::Factory
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=MooX-Keyword-Factory
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
This software is Copyright (c) 2022 by LNATION.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)