object —
| Attribute | Pos. | Req. | Default | Description |
|---|---|---|---|---|
| interpolate | 0 | interpolate input? | ||
| reparse | 1 | interpolate output? | ||
| hide | 0 | Hide the tag return value? |
Interchange 5.9.0:
Source: lib/Vend/Interpolate.pm
Lines: 3929
sub tag_object {
my ($count, $item, $hash, $opt, $body) = @_;
my $param = delete $hash->{param}
or return undef;
my $method;
my $out = '';
eval {
if(not $method = delete $hash->{method}) {
$out = $item->{$param}->();
}
else {
$out = $item->{$param}->$method();
}
};
return $out;
}