“This is the Apocalypse on Subroutines. In Perl culture the term
‘subroutine”‘ conveys the general notion of calling something that
returns control automatically when it’s done. This ‘something’ that
you’re calling may go by a more specialized name such as
‘procedure,’ ‘function,’ ‘closure,’ or ‘method.’ In Perl 5, all
such subroutines were declared using the keyword sub regardless of
their specialty. For readability, Perl 6 will use alternate
keywords to declare special subroutines, but they’re still
essentially the same thing underneath. Insofar as they all behave
similarly, this Apocalypse will have something to say about them.
(And if we also leak a few secrets about how method calls work,
that will make Apocalypse 12 all the easier–presuming we don’t
have to un-invent anything between now and then…)“Here are the RFCs covered in this Apocalypse. PSA stands for
‘problem, solution, acceptance,’ my private rating of how this RFC
will fit into Perl 6. I note that none of the RFCs achieved
unreserved acceptance this time around. Maybe I’m getting picky in
my old age. Or maybe I just can’t incorporate anything into Perl
without ‘marking’ it…”
Perl.com: Apocalypse 6
By
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis