Sub::Uplevel is calling warnings which is calling perl-5.15.4, so I think that you have listed warnings somewhere in the autobundle. "warnings" is a core, nondual-lived module, so take warnings out of the bundle---that's my gut response. Or it might be easier to just do it in the shell:
cpan> install Catalyst::Runtime Catalyst::Devel
But before you do that, here's a list of modules that you need for the tests:
#!/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));
At a minimum, here are some env vars that need to be set:
PERL_SIGNALS=safe TEST_POD=1 TEST_POD_COVERAGE=1 TEST_MEMORY_CYCLE=1 TEST_HTTP=1 TEST_STRESS=1 TEST_THREADS=1
And here's a list of problematic modules that probably need to be installed as notests:
#!/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));
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; print $_->install for CPAN::Shell->expand("Module", "/^Catalyst::Model/");
And my favorite thing: the whole kaboodle:
#!/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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.