tweak to $c->req->full_uri
[catagits/Catalyst-Runtime.git] / Build.PL
1 use strict;
2 use Module::Build;
3
4 my $build = Module::Build->new(
5     license            => 'perl',
6     module_name        => 'Catalyst',
7     requires           => {
8         'perl'                              => '5.8.1',
9         'UNIVERSAL::require'                => 0,
10         'CGI'                               => '3.06',
11         'Class::Accessor::Fast'             => 0,
12         'Class::Data::Inheritable'          => 0,
13         'File::Temp'                        => 0.14,
14         'HTTP::Daemon'                      => 0,
15         'HTML::Entities'                    => 0,
16         'HTTP::Headers'                     => 1.59,
17         'HTTP::Request'                     => 0,
18         'HTTP::Response'                    => 0,
19         'LWP::UserAgent'                    => 0,
20         'Module::Pluggable::Fast'           => 0.16,
21         'Path::Class'                       => 0.09,
22         'Template'                          => 0,
23         'Text::ASCIITable'                  => 0,
24         'Tree::Simple'                      => 0,
25         'Tree::Simple::Visitor::FindByPath' => 0,
26         'URI'                               => 0,
27         'Time::HiRes'                       => 0,
28     },
29     create_makefile_pl   => 'passthrough',
30     create_readme        => 1,
31     script_files         => [ glob('script/*') ],
32     test_files           => "t/",
33     recursive_test_files => 1
34 );
35 $build->create_build_script;
36
37 print( '*' x 80, "\n" );
38 print(
39     (qw/chansen draven fordmason naughton sri the_jester/)[ int( rand(6) ) ],
40     " is the greatest and gabb is ",
41     ( (localtime)[2] > 12 ? "drunk" : "hung over" ),
42     " again!\n"
43 );
44 print( '*' x 80, "\n" );
45
46 eval "use FCGI";
47 print qq/Install "FCGI" for FastCGI support.\n/ if $@;