1MooseX::Declare::SyntaxU:s:eKreyCwoonrtMdro:io:bsNueatXme:ed:sDpPeaeccrlela(r3Depo:mc:)uSmyennttaaxt:i:oKneyword::Namespace(3pm)
2
3
4
6 MooseX::Declare::Syntax::Keyword::Namespace - Declare outer namespace
7
9 version 0.43
10
12 use MooseX::Declare;
13
14 namespace Foo::Bar;
15
16 class ::Baz extends ::Qux with ::Fnording {
17 ...
18 }
19
21 The "namespace" keyword allows you to declare an outer namespace under
22 which other namespaced constructs can be nested. The "SYNOPSIS" is
23 effectively the same as
24
25 use MooseX::Declare;
26
27 class Foo::Bar::Baz extends Foo::Bar::Qux with Foo::Bar::Fnording {
28 ...
29 }
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::Syntax::KeywordHandling
40
42 · MooseX::Declare
43
45 Florian Ragwitz <rafl@debian.org>
46
48 This software is copyright (c) 2008 by Florian Ragwitz.
49
50 This is free software; you can redistribute it and/or modify it under
51 the same terms as the Perl 5 programming language system itself.
52
53
54
55perl v5.30.1 Moos2e0X2:0:-D0e1c-l3a0re::Syntax::Keyword::Namespace(3pm)