=over

=item class NAMESPACE

=item class NAMESPACE VERSION

=item class NAMESPACE BLOCK

=item class NAMESPACE VERSION BLOCK

Declares the BLOCK or the rest of the compilation unit as being in the given
namespace, which implements an object class (see L<perlclass>).  This
behaves similarly to L<C<package>|/package NAMESPACE>, except that the
newly-created package behaves as a class.

=back