But before you do that, here's a list of modules that you need for the tests:cpan> install Catalyst::Runtime Catalyst::Devel
At a minimum, here are some env vars that need to be set:#!/usr/bin/perl use strict; use warnings; use CPAN; CPAN::Shell->install(qw( Test::More Test::Pod Test::Pod::Coverage PadWalker Pod::Usage Getopt::Long Devel::Cycle Test::Memory::Cycle Log::Dispatch::Array Authen::Simple::Passwd CGI::Emulate::PSGI LWP::Protocol::http10 HTTP::Server::Simple::PSGI FCGI::ProcManager HTTP::Request::AsCGI UNIVERSAL::ref Test::HTTP CatalystX::LeakChecker));
And here's a list of problematic modules that probably need to be installed as notests:PERL_SIGNALS=safe TEST_POD=1 TEST_POD_COVERAGE=1 TEST_MEMORY_CYCLE=1 TEST_HTTP=1 TEST_STRESS=1 TEST_THREADS=1
One more trick: If you want to install all the models in a namespace, let's say the Catalyst::Model namespace:#!/usr/bin/perl use strict; use warnings; use CPAN; CPAN::Shell->notest(qw( install Net::Server HTTP::Server::Simple HTTP::Server::Simple::PSGI Starman Twiggy));
And my favorite thing: the whole kaboodle:#!/usr/bin/perl use strict; use warnings; use CPAN; print $_->install for CPAN::Shell->expand("Module", "/^Catalyst::Model/");
#!/usr/bin/perl use strict; use warnings; use CPAN; print $_->install for CPAN::Shell->expand("Module", "/^Catalyst/");
In reply to Re: Trouble replicating a Perl hierarchy using autobundle
by Khen1950fx
in thread Trouble replicating a Perl hierarchy using autobundle
by PerlByName
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |