Hello World

Hello World ${time}, loop iteration ${i}.

Hello World ${time}, loop iteration ${i}.

__PERL__ sub hello0 { my $self=shift(); my @html; my $time=localtime(); for (my $i=0; $i<3; $i++) { push @html, $self->render( time=>$time, i=>$i) }; return \@html; } sub hello1 { # Alternate syntax using print # my $self=shift(); my $time=localtime(); for (my $i=0; $i<3; $i++) { print $self->render( time=>$time, i=>$i) }; return \undef }