in reply to Re^4: Wierd bugs I would have never expected
in thread Wierd bugs I would have never expected
I'm not sure I'd call it a "bug" which has been "fixed"; just a change. An enhancement. In older versions of perl, an eval block (including a module file) would evaluate to the value of its last evaluated expression. And return 1; is not an expression. Apparently, as of 5.10, an eval block can have a return statement as well.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Wierd bugs I would have never expected
by ELISHEVA (Prior) on Dec 16, 2010 at 16:27 UTC | |
|
Re^6: Wierd bugs I would have never expected
by Anonyrnous Monk (Hermit) on Dec 16, 2010 at 16:48 UTC |