This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #108794] Call special blocks in void context
authorFather Chrysostomos <sprout@cpan.org>
Sun, 22 Jan 2012 23:59:16 +0000 (15:59 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 22 Jan 2012 23:59:16 +0000 (15:59 -0800)
commit9a8aa25b28a859846cf1458bfe11f17ad258e982
treebd95f66dc420eea58847a0f6845752ecca72c1c7
parent3840c57b8cefe640d72c4ad40d0b13c41cf80f6d
[perl #108794] Call special blocks in void context

Now BEGIN blocks, etc., are called in void context, so the result of
evaluating the last statement is not wastefully copied.
perl.c
t/op/blocks.t