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)
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)
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)
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)
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)
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)