Resolve SSH hangs caused by running the interactive cpan shell remotely on Raspberry Pi 4 by using non-interactive installation commands.