NAME

MooX::ConfigFromFile - Moo eXtension for initializing objects from config file

SYNOPSIS

package Role::Action;

use Moo::Role;

has operator => ( ... );

package Action;

use Moo;

with "Role::Action", "MooX::ConfigFromFile";

sub operate {
    my $self = shift;

    return say $self->operator;
}

AUTHOR

Jens Rehsack, <rehsack at cpan.org>

BUGS

Please report any bugs or feature requests to bug-moox-configfromfile at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooX-ConfigFromFile. 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::ConfigFromFile

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2013 Jens Rehsack.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.