sub _build_config {
my ($self) = @_;
- try { require Config::Any } catch { $self->throw_exception( "Config::Any is required to parse the config file"); };
+
+ eval { require Config::Any }
+ or $self->throw_exception( "Config::Any is required to parse the config file");
my $cfg = Config::Any->load_files ( {files => [$self->config_file], use_ext =>1, flatten_to_hash=>1});
%$moose_basic,
'MooseX::Types::Path::Class'=> '0.05',
'MooseX::Types::JSON' => '0.02',
- 'Try::Tiny' => '0.02',
'namespace::autoclean' => '0.09',
'parent' => '0.223',
'Getopt::Long::Descriptive' => '0.081',