Subject: | Request: add optional reason to sub ignore |
Could you please add this feature because it can be useful to log a
reason for calling ignore()?
# Original code:
sub ignore {
my $self = shift;
$self->_log(1, "Ignoring");
# New code:
sub ignore {
my $self = shift;
my $reason = shift;
$self->_log(1, "Ignoring" . (defined($reason) ? ": $reason" : ''));