Declare $_w_eval_err outside block