Skip Menu |

This queue is for tickets about the Function-Parameters CPAN distribution.

Report information
The Basics
Id: 93338
Status: resolved
Priority: 0/
Queue: Function-Parameters

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 1.0501



Subject: Wishlist for Perl 5.20 signature compatibility: trailing equals sign as a default
The following: method quux ($foo=, @bar=) { ... } Should be equivalent to: method quux ( $foo=undef , @bar=() ) { ... }
On Tue Feb 25 07:07:28 2014, TOBYINK wrote: Show quoted text
> The following: > > method quux ($foo=, @bar=) { ... } > > Should be equivalent to: > > method quux ( $foo=undef , @bar=() ) { ... }
OK, that seems reasonable ... except for the @bar=() bit; you can't default-initialize slurpies.