+package Moose::Cookbook::Extending::Recipe3;
+
+# ABSTRACT: Providing an alternate base object class
+
+__END__
+
=pod
=begin testing-SETUP
-BEGIN {
- eval 'use Test::Output;';
- if ($@) {
- diag 'Test::Output is required for this test';
- ok(1);
- exit 0;
- }
-}
+use Test::Requires {
+ 'Test::Output' => '0',
+};
=end testing-SETUP
-=head1 NAME
-
-Moose::Cookbook::Extending::Recipe3 - Providing an alternate base object class
-
=head1 SYNOPSIS
package MyApp::Base;
=head1 DESCRIPTION
A common extension is to provide an alternate base class. One way to
-do that is to make a C<MyApp::base> and add C<S<extends
+do that is to make a C<MyApp::Base> and add C<S<extends
'MyApp::Base'>> to every class in your application. That's pretty
tedious. Instead, you can create a Moose-alike module that sets the
base object class to C<MyApp::Base> for you.
want to combine a metaclass trait with a base class extension, and
that's when this technique is useful.
-=head1 AUTHOR
-
-Dave Rolsky E<lt>autarch@urth.orgE<gt>
-
-=head1 COPYRIGHT AND LICENSE
-
-Copyright 2006-2010 by Infinity Interactive, Inc.
-
-L<http://www.iinteractive.com>
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
-
=begin testing
{