MooseX::Declare::Syntax::Keyword::Namespace(3pm)

MooseX::Declare::Syntax::Keyword::Namespace3pm

Declare outer namespace

Usage

  use MooseX::Declare;
  namespace Foo::Bar;
  class ::Baz extends ::Qux with ::Fnording {
      ...
  }

Version

version 0.43

Overview

The "namespace" keyword allows you to declare an outer namespace under which other namespaced constructs can be nested. The "SYNOPSIS" is effectively the same as

  use MooseX::Declare;
  class Foo::Bar::Baz extends Foo::Bar::Qux with Foo::Bar::Fnording {
      ...
  }

Methods

parse

  Object->parse(Object $context)

Will skip the declarator, parse the namespace and push the namespace in the file package stack.

Consumes

•

MooseX::Declare::Syntax::KeywordHandling

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–11
  5. 12–13

Author

Florian Ragwitz <[email protected]>

From libmoosex-declare-perl 0.43-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.