Skip Menu |

This queue is for tickets about the Fun CPAN distribution.

Report information
The Basics
Id: 80693
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: subroutine defined despite syntax errors
$ cat bug/syntax-errors-still-define-sub #!perl use Fun; eval '(fun wtf() {}'; warn "eval failed: $@" if $@; wtf(); print "alive\n"; __END__ $ perl bug/syntax-errors-still-define-sub eval failed: syntax error at (eval 1) line 1, near "{}" alive Despite the syntax error &wtf is still defined and callable.