in reply to Parsing Math Strings

perlfunc:eval is your friend.
$a="(1/2)*4"; print eval($a),"\n";

--
tune