Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 browsing the Monastery: (5)
As of 2015-07-04 03:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls