Simplify Subroutine Signatures
Do you need simple subroutine signatures?
signatures default behavior is simple.
It is simple alias.
# $foo, $bar sub foo ($foo, $bar) { ... } sub foo { my ($foo, $bar) = @_; }
# $foo, @bar sub foo ($foo, @bar) { ... } sub foo { my ($foo, @bar) = @_; }
# $foo, %bar sub foo ($foo, %bar) { ... } sub foo { my ($foo, %bar) = @_; }
I implement simple signature in perl5 branch instead of CPAN module.
Simplify subroutine signatures(GitHub)
This work well. Is it good?
Do you hope subroutine signature in Perl 5?
Do you enough simple feature or want more advanced feature?
I think it is great idea idea. Though I would have suggested extending the existing module, rather than forking Perl ;). The issue, I guess, always is that one doesn't want many conflicting incompatible branches.
Sorry, My question was ambiguous.
Which do you hope the followings?
1. Perl 5 don't implement subroutine signatures
2. Perl 5 implement simple subroutine signatures
3. Perl 5 implement advanced subroutine signatures