Skip Menu |

This queue is for tickets about the Fun CPAN distribution.

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

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

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



Subject: "keyword" fun actually a subroutine
perldoc Fun claims: "This module provides fun, a new keyword ..." But this "keyword" is actually a subroutine: $ cat bug/keyword-is-sub #!perl use warnings; use Fun; sub sub {} fun fun {} __END__ $ perl bug/keyword-is-sub Subroutine fun redefined at bug/keyword-is-sub line 5. I.e. 'fun' will clash with subroutines of the same name while actual keywords (such as 'sub') will not. Maybe this should be mentioned in the documentation.