So, while other constant modules may die and be trapped with eval BLOCK, the constant pragma makes assignment a syntax error and needs to be trapped with eval EXPRESSION. Now I understand the line in the book
the code in the BLOCK has to be valid Perl code to make it past the compilation phaseThanks
http://act.yapc.eu/lpw2015/ It's that time of year again!
In reply to Re^2: Eval not trapping fatal error
by Ea
in thread SOLVED: Eval not trapping fatal error
by Ea
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |