- or download this
$_->(@args) foreach @{$self->get_hooks_for($hook_name)};
- or download this
$VAR1 = [
sub { "DUMMY" },
sub { "DUMMY" }
];
- or download this
$VAR1 = [
sub { "DUMMY" },
undef
];
- or download this
foreach my $hook (@{ $self->get_hooks_for($hook_name) }) {
$hook->(@args);
}
- or download this
my @hooks = @{ $self->get_hooks_for($hook_name) };
$_->(@args) foreach @hooks;