- or download this
use Want;
...
print "About to call foo()\n";
my $r = foo();
print "foo() returned '$r'\n";
- or download this
About to call foo()
Entering foo
Entering bar
Leaving bar
foo() returned 'bar did this'
- or download this
sub EVENT {
$kernel->post( shift, event => @_ );
Want::double_return();
return;
}