Scroll to navigation

MooseX::Declare::Syntax::Extending(3pm) User Contributed Perl Documentation MooseX::Declare::Syntax::Extending(3pm)

NAME

MooseX::Declare::Syntax::Extending - Extending with superclasses

VERSION

version 0.43

DESCRIPTION

Extends a class by a specified "extends" option.

METHODS

add_extends_option_customizations

  Object->add_extends_option_customizations (
      Object   $ctx,
      Str      $package,
      ArrayRef $superclasses,
      HashRef  $options
  )

This will add a code part that will call "extends" with the $superclasses as arguments.

CONSUMES

MooseX::Declare::Syntax::OptionHandling

SEE ALSO

  • MooseX::Declare
  • MooseX::Declare::Syntax::Keyword::Class
  • MooseX::Declare::Syntax::OptionHandling

AUTHOR

Florian Ragwitz <rafl@debian.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2008 by Florian Ragwitz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2015-08-23 perl v5.40.0