or why it was different from the non-inlined case, especially when the
non-inlined version is less nonsensical
return (
'if (@_ < 2) {',
$self->_inline_throw_error(
- '"Attribute (' . $attr_name . ') is required, so cannot '
- . 'be set to undef"' # defined $_[1] is not good enough
+ '"Attribute (' . $attr_name . ') is required"'
) . ';',
'}',
);