# Remember to update this in Catalyst::Runtime as well!
our $VERSION = '5.8000_06';
+$VERSION = eval $VERSION;
sub import {
my ( $class, @arguments ) = @_;
# Kill Adopt::NEXT warnings if we're a non-RC version
if ($VERSION !~ /_\d{2}$/) {
- Class::C3::Adopt::NEXT->unimport(qr/^Catalyst/);
+ Class::C3::Adopt::NEXT->unimport(qr/^Catalyst::/);
}
my $meta = Moose::Meta::Class->initialize($caller);
they can save you a lot of work.</p>
<pre><code>script/${prefix}_create.pl -help</code></pre>
<p>Also, be sure to check out the vast and growing
- collection of <a href="http://cpansearch.perl.org/search?query=Catalyst%3A%3APlugin%3A%3A&mode=all">plugins for Catalyst on CPAN</a>;
+ collection of <a href="http://search.cpan.org/search?query=Catalyst">plugins for Catalyst on CPAN</a>;
you are likely to find what you need there.
</p>
my @comps = sort { length $a <=> length $b } $locator->plugins;
my %comps = map { $_ => 1 } @comps;
-
+
+ my $deprecated_component_names = grep { /::[CMV]::/ } @comps;
+ $class->log->warn(qq{Your application is using the deprecated ::[MVC]:: type naming scheme.\n}.
+ qq{Please switch your class names to ::Model::, ::View:: and ::Controller: as appropriate.\n}
+ ) if $deprecated_component_names;
+
for my $component ( @comps ) {
# We pass ignore_loaded here so that overlay files for (e.g.)