develooper Front page | perl.perl5.porters | Postings from November 2013

[perl #119791] [PATCH] Remove support for "do SUBROUTINE(LIST)"

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
November 9, 2013 01:55
Subject:
[perl #119791] [PATCH] Remove support for "do SUBROUTINE(LIST)"
Message ID:
rt-4.0.18-5954-1383962113-1297.119791-15-0@perl.org
On Fri Nov 08 04:28:15 2013, perl.p5p@rjbs.manxome.org wrote:
> Heck, I don't even mind one last, "Wait, I have a
> new
> objection!"  I just object to living in a room with twenty swords
> dangling over
> me.

I just want to point out that Tom Christiansen complained the last time this was brought up, because he had many scripts still using it, as at one point it had been the only way to call subs.

Also, do we want do foo() to have its logical behaviour of passing the return value of foo to do-file?  Or should it be a syntax error?

(The latter is the type of question we should always ask when removing a feature.)

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=119791

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About