Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: The Future of Perl 5

by tobyink (Canon)
on Aug 20, 2018 at 10:13 UTC ( [id://1220697]=note: print w/replies, xml ) Need Help??


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]; ... }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1220697]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-24 19:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found