execute
my $result = $try->execute($callback, @args);
The execute method takes a coderef and executes it with any given arguments. When invoked, the callback will received an invocant if one was provided to the constructor, the default arguments if any were provided to the constructor, and whatever arguments were passed directly to this method.
execute(CodeRef $callback, Any @args) : Any
method
5 POD Errors
The following errors were encountered while parsing the POD:
- Around line 10:
Unknown directive: =name
- Around line 14:
Unknown directive: =usage
- Around line 18:
Unknown directive: =description
- Around line 25:
Unknown directive: =signature
- Around line 29:
Unknown directive: =type