in reply to SOLVED: Eval not trapping fatal error
Perl cannot compile your code because it is invalid. You cannot assign to a constant or function (unless that function is already known as lvalue subroutine).
If you want to convert a "syntax"/semantic error to runtime, you will need to use the string form of eval.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Eval not trapping fatal error
by Ea (Chaplain) on Dec 07, 2015 at 12:26 UTC | |
by Corion (Patriarch) on Dec 07, 2015 at 12:34 UTC |