--- templates/example/welcome.html.epl 2009/06/16 19:39:42 3 +++ templates/example/welcome.html.epl 2009/06/16 19:47:21 4 @@ -7,3 +7,18 @@ to reload the page or here to move forward to a static page. + +% my $hostname = $self->param('hostname'); + +
+ + +
+ +% foreach my $cmd ( @{ $self->stash('commands') } ) { +% my $run = $hostname ? "ssh $hostname $cmd" : $cmd; +<%= $cmd %>
+
<%= `$run` %>
+% }