Skip the perldoc test if 'man' is missing

This fixes a test failure in minimal build environments without
a 'man' command.