in reply to Re^8: Bareword error in WWW::Mechanize
in thread WWW::Mechanize “use constant xx” gets bareword error

I concur. use constant is erroneously loading C:/Perl64/site/lib/ExtUtils/Constant.pm because of the junk you've added to @INC. Unset env var PERLLIB.