Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Keep It Simple, Stupid
 
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 drinking their drinks and smoking their pipes about the Monastery: (14)
As of 2014-04-17 18:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (453 votes), past polls