MooseX-Role-BuildInstanceOf
view release on metacpan or search on metacpan
t/share/templates.txt view on Meta::CPAN
180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
tag body does Filter {
}
}
template NewTemplate {
extends
BasicTemplate;
attribute
'paragraphs'
=> (
isa
=>ArrayRef);
overlay
'//h1'
{
$matched
->create_or_append_attribute({
class
=>
'ggg'
});
$matched
->insert_before->hr;
}
around
first_dir {
t h1 {
'{This adds some stuff}
}
$self
->
$body
;
}
overlay addsomething {
match(
'//h1'
) as fix_h1s {
$matched
->create_or_append_attribute({
class
=>
'ggg'
});
$matched
->insert_before->hr;
}
}
template MyApp::UI::Basic {
( run in 0.257 second using v1.01-cache-2.11-cpan-05444aca049 )