1 use inc::Module::Install 0.64;
4 all_from 'lib/Catalyst/Devel.pm';
6 requires 'Catalyst' => '5.7000';
7 requires 'Catalyst::Action::RenderView' => '0.04';
8 requires 'Catalyst::Plugin::Static::Simple' => '0.16';
9 requires 'Catalyst::Plugin::ConfigLoader';
10 requires 'Class::Accessor::Fast';
11 requires 'Config::General'; # as of 1.07, we use .conf and not .yaml
12 requires 'File::Copy::Recursive';
13 requires 'Module::Install' => '0.64';
14 requires 'parent'; # as of 1.04
15 requires 'Path::Class' => '0.09';
16 requires 'Template' => '2.14';
18 if (!$ENV{CATALYST_DEVEL_NO_510_CHECK}) {
22 open NULL, '>', File::Spec->devnull;
24 my $pid = open3(gensym, '&>NULL', $err, "$^X -It/lib -MUnknownError -e 1");
26 my $unknown_error = 0;
29 $unknown_error = 1 if /^Unknown error/;
36 ############################### WARNING #################################
38 # You are using perl 5.10.0 with the "Unknown error" bug. This can make #
39 # developing Catalyst applications much more painful, as it will come #
40 # up with no details every time you have a syntax error in a Controller.#
42 # For more information see: #
44 # * http://rt.perl.org/rt3/Public/Bug/Display.html?id=49472 #
46 # It is highly recommended that you use a different version of perl or #
47 # compile a patched version for Catalyst development. #
49 # To skip this check, set the CATALYST_DEVEL_NO_510_CHECK environment #
52 #########################################################################
55 my $ans = prompt('Do you want to continue?', 'no');
56 exit 0 unless $ans =~ /^y(es)?\z/i;