3 BEGIN { push(@INC, ".."); };
6 if ($module_info{'usermin'}) {
7 &switch_to_remote_user();
10 $google_host = "www.google.com";
12 $google_page = "/search";
14 # Get the paths to perl and perldoc
15 $perl_path = &get_perl_path();
16 if (&has_command("perldoc")) {
17 $perl_doc = "perldoc";
20 $perl_path =~ /^(.*)\/[^\/]+$/;
21 if (-x "$1/perldoc") {
22 $perl_doc = "$1/perldoc";
25 if ($perl_doc && $] >= 5.006) {
26 $perl_doc = "$perl_doc -U";
32 $ENV{'MANPATH'} = join(":", split(/:/, $config{'man_dir'}),
38 # show_view_table(heading, html)
39 # Prints a block showing the contents of a documentation page
42 local ($heading, $html) = @_;
43 print &ui_table_start($heading, "width=100%", 2);
44 print &ui_table_row(undef, $html, 2);
45 print &ui_table_end();