MooseX-Role-BuildInstanceOf
view release on metacpan or search on metacpan
t/share/templates.txt view on Meta::CPAN
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 {
extends '::RootWindow';
( run in 2.173 seconds using v1.01-cache-2.11-cpan-26ccb49234f )