in reply to Re: The Future of Perl 5
in thread The Future of Perl 5
I'd argue that because
sub foo ($x) { ... }
Is a shorthand for:
sub foo { my $x = $_[0]; ... }
Then:
sub foo (Int $x) { ... }
Ought to be a shorthand for:
sub foo { my Int $x = $_[0]; ... }
|
|---|