in reply to Re^2: File testing via list of test operators
in thread File testing via list of test operators

eval{"$cmd"}
That's true if "$cmd" is true. If you want to evaluate $cmd, then write:
eval $cmd