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

I tried quoting as you suggested and it fixed this instance. From there the same condition (and fix) continued in other modules until I gave up. I reinstalled ActivePerl and the problem did not go away.

Any ideas to try? Or should I contact ActivePerl?

The last windows update was two weeks prior to the problem, so I don’t think that is an issue.

Do you think It is worth trying the 32-bit version?

Replies are listed 'Best First'.
Re^4: Bareword error in WWW::Mechanize
by marto (Cardinal) on Nov 28, 2017 at 18:28 UTC

    Try Strawberry perl, they even have a portable edition. It a sane distribution for Windows and ships with a proper toolchain and lots of additional, handy modules and tools.