Skip Menu |

This queue is for tickets about the Fun CPAN distribution.

Report information
The Basics
Id: 80690
Status: new
Priority: 0/
Queue: Fun

People
Owner: Nobody in particular
Requestors: MAUKE [...] cpan.org
Cc:
AdminCc:

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



Subject: trailing commas in parameter list not allowed
$ cat bug/trailing-comma #!perl use Fun; fun foo($x, ) {} __END__ $ perl bug/trailing-comma syntax error at bug/trailing-comma line 3. It would be nice if a trailing comma was accepted in parameter lists, especially for things like: fun foo( $x, # description 1 $y, # description 2 ) { ... }