1MooseX::Declare::SyntaxU:s:eKreyCwoonrtdr:iM:boNuoatsmeeedXs:pP:aeDcreelc(l3Da)orceu:m:eSnytnattaixo:n:Keyword::Namespace(3)
2
3
4
6 MooseX::Declare::Syntax::Keyword::Namespace - Declare outer namespace
7
9 use MooseX::Declare;
10
11 namespace Foo::Bar;
12
13 class ::Baz extends ::Qux with ::Fnording {
14 ...
15 }
16
18 The "namespace" keyword allows you to declare an outer namespace under
19 which other namespaced constructs can be nested. The "SYNOPSIS" is
20 effectively the same as
21
22 use MooseX::Declare;
23
24 class Foo::Bar::Baz extends Foo::Bar::Qux with Foo::Bar::Fnording {
25 ...
26 }
27
29 · MooseX::Declare::Syntax::KeywordHandling
30
32 parse
33 Object->parse(Object $context)
34
35 Will skip the declarator, parse the namespace and push the namespace in
36 the file package stack.
37
39 · MooseX::Declare
40
42 See MooseX::Declare
43
44
45
46perl v5.12.1 Mo2o0s0e9X-:0:9D-e0c4lare::Syntax::Keyword::Namespace(3)