| Store | Cart

[perl #123055] [PATCH] Fix perldelta description for (*) prototype change

From: Doug Bell (via RT) <perl...@perl.org>
Sat, 25 Oct 2014 15:35:51 -0700
# New Ticket Created by  Doug Bell 
# Please include the string:  [perl #123055]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=123055 >


The perldelta example code has a ($) prototype, but the change is about the (*) prototype.


>From b206249dbc038bb4dcf35c341482988a55d48c06 Mon Sep 17 00:00:00 2001
From: Doug Bell <madc...@gmail.com>
Date: Sat, 25 Oct 2014 17:32:59 -0500
Subject: [PATCH] fix change description has incorrect proto

The incompatible change deals with the (*) proto
---
 pod/perl5214delta.pod | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pod/perl5214delta.pod b/pod/perl5214delta.pod
index 866a12b..67876ff 100644
--- a/pod/perl5214delta.pod
+++ b/pod/perl5214delta.pod
@@ -42,7 +42,7 @@ exhibited buggy behaviour.
 Now it has been changed, so subroutines always take precedence over barewords,
 which brings it into conformity with similarly prototyped built-in functions:
 
-    sub splat($) { ... }
+    sub splat(*) { ... }
     sub foo { ... }
     splat(foo); # now always splat(foo())
     splat(bar); # still splat('bar') as before
-- 
2.0.0



Doug Bell
madc...@gmail.com




Recent Messages in this Thread
Doug Bell (via RT) Oct 25, 2014 10:35 pm
Father Chrysostomos via RT Oct 25, 2014 11:15 pm
Messages in this thread