in reply to skipping html generation while pkg installation using ppm

Is there a command line option during install or any way to skip HTML generation?

I don't know of any command line option but in lib/ActivePerl/PPM/Client.pm you'll find:
my $install_html = eval { require ActivePerl::DocTools; }; $install_html = $args{install_html} if exists $args{install_html};
Try inserting straight after that:
$install_html = 0;
Works for me. I, too, *never* consult a modules html documentation, preferring instead to use perldoc, and I agree that it's annoying to be sitting around waiting for something that you don't really want.

If you poke around in the code you might find that there's a better solution (such as a command line option).

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: skipping html generation while pkg installation using ppm
by saurabh.hirani (Beadle) on Oct 11, 2010 at 08:58 UTC

    Thanks a lot Rob. You made my day. I will see to it that I poke around the code before posting anything on these lines so that I can share my understanding with others. I did try to see any command lines options but didn't find any. </P?

    And as per the snippet, a successfully "require" of the module leads to setting of install_html and returning a conditional true/false from DocTools is not a good idea. I will see if I can find an external way to switch on/off html gen.