Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: skipping html generation while pkg installation using ppm

by syphilis (Canon)
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/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


Comment on Re: skipping html generation while pkg installation using ppm
Select or Download Code
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://864563]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (15)
As of 2014-09-22 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (185 votes), past polls