This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
First stab at my sub
authorFather Chrysostomos <sprout@cpan.org>
Wed, 11 Jul 2012 03:18:48 +0000 (20:18 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 16 Sep 2012 05:45:02 +0000 (22:45 -0700)
commit194774c2461cd523598d669111a3251e2ceb0147
tree4383aa4f48b1883a8bc53cb8a070fd4bb23ec1b7
parent2435fbd5b7d5a7aa6aaeba8f8b9ea14ff5878e88
First stab at my sub

This does just enough to get things to compile.

They currently do weird things in edge cases, including ‘Bizarre
copy of CODE’.

‘my sub’ now produces a SUB token, and goes through the same grammar
rule as ‘state sub’ and just plain ‘sub’.  The separate MYSUB branch
of the barestmt rule will go soon, as it is now unused.
op.c
t/cmd/lexsub.t
t/lib/croak/op
toke.c