This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Allow my \$a
authorFather Chrysostomos <sprout@cpan.org>
Sat, 21 May 2016 05:28:31 +0000 (22:28 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 17 Jul 2016 18:24:06 +0000 (11:24 -0700)
commite118fea3ba754e973a9016295ef418b1aacb88b1
treee9d8748b2870f675953fb88e2a11d44b04594065
parentbec88f1bea9be699db294f4c38b20fef00a7f605
Allow my \$a

This applies to ‘my’, ‘our’, ‘state’ and ‘local’, and both to single
variable and lists of variables, in all their variations:

my \$a        # equivalent to \my $a
my \($a,$b)   # equivalent to \my($a, $b)
my (\($a,$b)) # same
my (\$a, $b)  # equivalent to (\my $a, $b)
op.c
perly.act
perly.h
perly.tab
perly.y
toke.c