in reply to perldoc is broken

First, I would look at which perldoc program is actually run:

which perldoc

Something, somewhere maybe installed a program with the same name that is supposed to run as CGI...

As a second step, look at %ENV - maybe perldoc behaves as CGI if some HTTP environment headers are set. Anything starting with HTTP_ is suspect. Under Windows, you can see %ENV using the set command.

Replies are listed 'Best First'.
Re^2: perldoc is broken
by LanX (Saint) on Jan 11, 2022 at 17:59 UTC
Re^2: perldoc is broken
by BernieC (Pilgrim) on Jan 11, 2022 at 17:59 UTC
    Thanks for the advice. It seemed to be OK and so something subtle must've been screwed up, so I took the coward's way out: I restored the *entire* c:\Strawberry hierarchy from the backup of a few days ago and the problem has gone away. The joy of backups.

      The joy of backups.

      Indeed, but if it happens again, and is convenient to debug please post again.