Safe::permit takes an Opcode, and "sqrt" is part of the :base_math category, so double check that you're calling the version you think you are. Also try checking the value of $@ after the call to reval.
In reply to Re: Using Safe to reval complex math
by djantzen
in thread Using Safe to reval complex math
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |