Avoid unnecessary variable.

  Removed "fail" which was only declared and never used; which
 silences a perlcritic warning.