$self -> {CALLBACK} = sub { my $self = shift; my $default = shift; my @args = @_; ( "arg condition here" ) and return $default -> (@args); ... }
One world, one people
In reply to Re: chaining callbacks
by anonymized user 468275
in thread chaining callbacks
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |