in reply to Re: enforcing list contextin thread enforcing list context
@_ = ($self->{rest}); goto &{ $self->can('value') }; [download]
goto &{ $_[0]->can('value') }; [download]
perl -e 'print sub { "Hello @{[shift]}!\n" }->("World")' [download]