This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Include the name of the non-lvalue sub in error message
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Tue, 6 Oct 2015 22:13:31 +0000 (23:13 +0100)
committerTony Cook <tony@develop-help.com>
Mon, 12 Oct 2015 04:21:45 +0000 (15:21 +1100)
commit0f948285b1d20fc918c76b133dd5bf40d0fa1221
treeda0aebfee340547ad496eddc36c25b5725b1a387
parent4a21999a595cf89f78d57aa5b3fdf3fbfa638fb1
Include the name of the non-lvalue sub in error message

This makes the cause of the error more obvious if you accidentally call
a non-lvalue sub in the final position of an lvalue one.
op.c
pod/perldiag.pod
pp_hot.c
t/op/sub_lval.t