Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: ppm install without creating HTML documentation?

by ikegami (Pope)
on Apr 20, 2009 at 15:16 UTC ( #758736=note: print w/ replies, xml ) Need Help??


in reply to ppm install without creating HTML documentation?

HTML doc generation is controlled by the following lines of ActivePerl::PPM::Client,

my $install_html = eval { require ActivePerl::DocTools; }; $install_html = $args{install_html} if defined $args{install_html} +;

Unfortunately, it's called by ActivePerl::PPM::GUI as follows:

$ppm->install( area => $INSTALL_AREA, packages => \@install_pkgs, run_cb => \&run_cmd, );

Fix:

$ppm->install( area => $INSTALL_AREA, packages => \@install_pkgs, run_cb => \&run_cmd, ( exists($ENV{INSTALL_HTML}) ? ( install_html => $ENV{INSTALL_HTML} ) : () ), );

That could be patched fairly easy.

perl -i.bak -ple"s/\$ppm->install\(\K/exists(\$ENV{INSTALL_HTML}) ? ( +install_html => \$ENV{INSTALL_HTML} ) : ()," c:\progs\perl5100\lib\Ac +tivePerl\PPM\GUI.pm


Comment on Re: ppm install without creating HTML documentation?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2015-07-02 17:29 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 (44 votes), past polls