Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package MyApp::SimpleConfig;
- use Moose;
- with qw(MooseX::Getopt MooseX::SimpleConfig);
- has 'config' => (
- is => 'ro',
- isa => 'HashRef',
- );
- has '+configfile' => (
- required => 1,
- );
- no Moose;
- __PACKAGE__->meta->make_immutable;
- 1;
Add Comment
Please, Sign In to add comment