It is worth mentioning that one shouldn't eval user-supplied strings until they have been checked for safety (untainted). If a user is supplying the value for $eq, they could supply Perl code that would be executed: obviously, that's potentially dangerous.
In reply to Re^2: Is it possible to store an arthimetric operator in a variable?
by radiantmatrix
in thread Is it possible to store an arthimetric operator in a variable?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |