Welcome to the Monastery | |
PerlMonks |
SOLVED: Eval not trapping fatal errorby Ea (Chaplain) |
on Dec 07, 2015 at 12:03 UTC ( [id://1149568]=perlquestion: print w/replies, xml ) | Need Help?? |
Ea has asked for the wisdom of the Perl Monks concerning the following question:
I've got a Houdini of an error here. The Camel Book says that this is how you trap fatal errors, BUT IT ESCAPES!
I was testing that constants were really constants as suggested in a review by Neil Bowers and the following doesn't compile. and the execution aborts with Can't modify constant item in scalar assignment I've tried it on perls v5.16.3 and v5.18.4 on linux. Any suggestions on what is going on here? Have I missed something?
Sometimes I can think of 6 impossible LDAP attributes before breakfast.
http://act.yapc.eu/lpw2015/ It's that time of year again!
Back to
Seekers of Perl Wisdom
|
|