in reply to eval question

Be aware that most Perl experts discourage the use of string eval. For example:

While string eval should be avoided, block eval (spelled try with perl 5.40+) is fine, as described here.

References Added Later

See Also