multi method parameters(Str $parameter) { $self->add_parameter($parameter) }
multi method parameters(ArrayRef $parameter) { $self->add_parameter($parameter) }
- multi method parameters { wantarray ? $self->_parameters : $self->_parameters }
+ multi method parameters { $self->_parameters }
}
multi method database_events(Str $database_event) { $self->add_database_event($database_event); $self->database_events }
multi method database_events(ArrayRef $database_events) { $self->add_database_event($_) for @$database_events; $self->database_events }
- multi method database_events { wantarray ? $self->_database_events : $self->_database_events }
+ multi method database_events { $self->_database_events }
}