# Nicked straight from Moose!
sub check_conflicts {
my %conflicts = (
+ 'CatalystX::CRUD' => '0.37',
'Catalyst::Action::RenderView' => '0.08',
'Catalyst::Plugin::DebugCookie' => '0.999002',
'Catalyst::Plugin::Authentication' => '0.100092',
my $found = 0;
for my $mod ( sort keys %conflicts ) {
- eval "require $mod";
+ eval "require($mod)";
next if $@;
my $installed = $mod->VERSION();