This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Rework lvref.t foreach tests
authorFather Chrysostomos <sprout@cpan.org>
Fri, 3 Oct 2014 19:40:23 +0000 (12:40 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 11 Oct 2014 07:10:16 +0000 (00:10 -0700)
commit362e758e511f89d460f083210680cff7744c09e8
tree57f78331a57b48f2e8ccedfc32d289a88976b82a
parent19abb1eacc7e9cf1067062e2bf447ba3c08031ec
Rework lvref.t foreach tests

Remove the to-do marker.

Add tests for package vars, too.

Redo the \my &a test.  I’ve decided not to bother with the ‘my &a’
syntax for now (if at all).  It is problematic and needs discussion.
(If ‘my &a’ is allowed in foreach, then it should be allowed else-
where, but ‘my &a;’ would call a stub.)
t/op/lvref.t