$code .= "\n" . $self->_inline_get_old_value_for_trigger($inv);
$code .= "\n" . $self->_inline_capture_return_value($slot_access);
- $code
- .= "\n" . $self->_inline_store( $inv, '[' . $potential_value . ']' );
+ $code .= "\n"
+ . $self->_inline_set_new_value(
+ $inv,
+ $potential_value,
+ $slot_access,
+ );
- $code .= "\n" . $self->_inline_post_body(@_);
$code .= "\n" . $self->_inline_trigger( $inv, $slot_access, '@old' );
+ $code .= "\n" . $self->_inline_post_body(@_);
$code .= "\n}";
$code .= "\n}";