in reply to Re^4: Bug in eval in pre-5.14
in thread Bug in eval in pre-5.14
The output for me made it look like they all bugged out. Notice they all have the same message and line number.eval is hiding a warning from us now with die replacing the number one and this is "just another bug".
To catch the hidden error by using the code below, it will work with AND WITHOUT! warnings on...Caught with Splacker: inside at C:\xampp\cgi-bin\Test\index.cgi line 2 +3. Caught with $@: inside at C:\xampp\cgi-bin\Test\index.cgi line 23. Caught with or: inside at C:\xampp\cgi-bin\Test\index.cgi line 23. Caught with Try::Tiny: inside at C:\xampp\cgi-bin\Test\index.cgi line +23. 5.008008
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Bug in eval in pre-5.14
by choroba (Cardinal) on Aug 14, 2016 at 11:19 UTC |