Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

moosex::declare::syntax::keyword::with5.18(3pm) [mojave man page]

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

NAME
MooseX::Declare::Syntax::Keyword::With - Apply roles within a class- or role-body SYNOPSIS
use MooseX::Declare; class ::Baz { with 'Qux'; ... } DESCRIPTION
The "with" keyword allows you to apply roles to the local class or role. It differs from the "with"-option of the "class" and "role" keywords in that it applies the roles immediately instead of defering application until the end of the class- or role-definition. It also differs slightly from the "with" provided by Moose in that it expands relative role names ("::Foo") according to the currenc "namespace". METHODS
parse Object->parse(Object $context) Will skip the declarator and make with "with" invocation apply the set of specified roles after possible "namespace"-expanding has been done. CONSUMES
o MooseX::Declare::Syntax::KeywordHandling SEE ALSO
o MooseX::Declare o MooseX::Declare::Syntax::Keyword::Namespace 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. perl v5.18.2 2013-12-14 MooseX::Declare::Syntax::Keyword::With(3pm)

Check Out this Related Man Page

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

NAME
MooseX::Declare::Syntax::Keyword::Namespace - Declare outer namespace SYNOPSIS
use MooseX::Declare; namespace Foo::Bar; class ::Baz extends ::Qux with ::Fnording { ... } DESCRIPTION
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
o MooseX::Declare::Syntax::KeywordHandling SEE ALSO
o MooseX::Declare 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. perl v5.18.2 2013-12-14 MooseX::Declare::Syntax::Keyword::Namespace(3pm)
Man Page

6 More Discussions You Might Find Interesting

1. Programming

Far Keyword

Hello, What is far keyword in C and for what purpose is it used??? Pls ans. thanx in advance. svh (2 Replies)
Discussion started by: svh
2 Replies

2. Programming

Syntax error at the end of input

Hi, I am getting a strange error as "Syntax error at the end of input" but I dont find any error in the file. Can anyone please let me know what it is? Thanks (2 Replies)
Discussion started by: naan
2 Replies

3. Shell Programming and Scripting

Need some help deleting words from a line which are not my "Keyword"

Hi, i'm currently new to scripting and need some help with my problem, so i'll jump right to it. I have a file containing text, the file is pretty big so for the sake of this i'll just say this is the text: John id number is abc34938 Grahams id number is pending id number abc64334 is Bob's ... (14 Replies)
Discussion started by: linuxkid
14 Replies

4. Solaris

Keyword search input from a file

Hi, I have a file which got only one column and got some keywords. I have another file where the keywords used in the first file are repeated in the second file. Now I would like to know how many times each keyword from the first file is repeated in the second file. Request your help on... (1 Reply)
Discussion started by: pointers
1 Replies

5. Shell Programming and Scripting

./1.sh: Syntax error at line 1 : `<<' is not matched.

function user { sqlplus primeit@$ORACLE_SID/primeit <<EOF select user_name from test; EOF } function gen { genpwdfile dec -in $1 -out $2 echo $1 echo $2 } function reset { sqlplus primeit@$ORACLE_SID/primeit... (7 Replies)
Discussion started by: ripudaman.singh
7 Replies

6. Shell Programming and Scripting

HPUX Syntax error at line 9 : `<' is not expected

Hi All, i'm getting this error, can somebody check? file name is like this 951957039339019_560119_000523_2w47_3060_0038_6002.log filename=$(basename "$1") extension="${filename##*.}" filename="${filename%.*}" IFS="_" read -r -a array... (2 Replies)
Discussion started by: charli1
2 Replies