1234567891011121314 package TestApp::View::HTML::Root;use Moose;sub main { my ($self, $stash) = @_; $_->select("#name")->replace_content($stash->{name});}sub direct_render { my ($self, $stash) = @_; $_->select("#name")->replace_content($stash->{name});}1;
package
TestApp::View::HTML::Root;
use
Moose;
sub
main {
my
(
$self
,
$stash
) =
@_
;
$_
->
select
"#name"
)->replace_content(
->{name});
}
direct_render {
1;