[Mailmunge] 3.08 change to $ctx->METHOD(@args);
list at ptld.com
list at ptld.com
Mon Oct 24 14:38:39 EDT 2022
The functions such as filter_recipient() and filter_message() capture $self.
my ($self, $ctx) = @_;
$self was only used in $self->METHOD($ctx, @args) which is now $ctx->METHOD(@args);
After making these edits $self is no longer needed and only exist in the function capture.
I assume i need to keep that "dead code" due to ordering of what is passed to the functions.
Any plans on this? Will it be removed someday? Anyway to remove it now?
More information about the Mailmunge
mailing list