This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlop: Mention ~ among ops that vary by type
[perl5.git] / pod / perl5214delta.pod
index 866a12b..67876ff 100644 (file)
@@ -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