| Server IP : 189.126.111.107 / Your IP : 216.73.217.69 Web Server : Apache System : Linux www.gadotticar.com.br 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64 User : gadotticar ( 1000) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/usermin/man/ |
Upload File : |
#!/usr/bin/perl
# view_perl.cgi
# View perl module documentation
require './man-lib.pl';
&ReadParse();
$in{'mod'} !~ /[\\\&\;\`\'\"\|\*\?\~\<\>\^\(\)\[\]\{\}\$\n\r]/ ||
&error($text{'perl_emod'});
&ui_print_header(undef, $text{'perl_title'}, "");
@for = split(/\s+/, $in{'for'});
&open_execute_command(DOC, "$perl_doc -t ".quotemeta($in{'mod'}), 1, 1);
$out = "<pre>";
while($line = <DOC>) {
$line = &html_escape($line);
foreach $f (@for) {
$line =~ s/($f)/<b>$1<\/b>/ig;
}
$out .= $line;
}
close(DOC);
$out .= "</pre>";
&show_view_table(&text('perl_header', $in{'mod'}), $out);
&ui_print_footer("", $text{'index_return'});