14 March 2008
This post may be outdated due to it was written on 2008. The links may be broken. The code may be not working anymore. Leave comments if needed.
sub test_body : Local {
my ($self, $c) = @_;

print "a\n";
print "b\n";

I think that's pretty useful when u are trying to use "Benchmark" module (or others use STDOUT).

Have fun!

blog comments powered by Disqus