This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Porting/todo.pod: Rmv ‘LVALUE functions for lists’
authorFather Chrysostomos <sprout@cpan.org>
Tue, 7 Jun 2016 05:25:19 +0000 (22:25 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 7 Jun 2016 05:25:19 +0000 (22:25 -0700)
commitebb13b509c428fd7f68640fb852002978e41c60f
tree54bbe60903a2e05cbc73c86f9ed01edc296d876a
parentf3fccad61d50bafd4048e7aa2ef581b869cef078
Porting/todo.pod: Rmv ‘LVALUE functions for lists’

$ ./perl -Ilib -e 'sub foo :lvalue{@hash{"foo","bar"}} (foo) = (3,4); use Data::Dumper; warn Dumper \%hash'
$VAR1 = {
          'foo' => 3,
          'bar' => 4
        };
$ ./perl -Ilib -e 'sub foo :lvalue{@arr[1,2]} (foo) = (3,4); use Data::Dumper; warn Dumper \@arr'
$VAR1 = [
          undef,
          3,
          4
        ];

Apparently slices do work.
Porting/todo.pod