Guest User

Untitled

a guest
Apr 21st, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. package MyApp::SimpleConfig;
  2. use Moose;
  3.  
  4. with qw(MooseX::Getopt MooseX::SimpleConfig);
  5.  
  6. has 'config' => (
  7. is => 'ro',
  8. isa => 'HashRef',
  9. );
  10.  
  11. has '+configfile' => (
  12. required => 1,
  13. );
  14.  
  15. no Moose;
  16. __PACKAGE__->meta->make_immutable;
  17.  
  18. 1;
Add Comment
Please, Sign In to add comment