As AnonymousMonk says, care should be taken when using 'eval'. You should check as he does that only valid characters are allowed, especially if eval'ing a string from an unknown source. The unknown string could have malicious system commands, for example, to wipe out your hard drive.
In reply to Re: Logic expression evaluation not working. What am I doing wrong?
by Cristoforo
in thread Logic expression evaluation not working. What am I doing wrong?
by perl_learner_2016
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |