Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: skipping html generation while pkg installation using ppm

by syphilis (Chancellor)
on Oct 11, 2010 at 08:16 UTC ( #864563=note: print w/replies, xml ) Need Help??

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/ 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).


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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://864563]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2018-05-22 01:20 GMT
Find Nodes?
    Voting Booth?