Skip to content

Commit

Permalink
app_perl: docs for warn_mode parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jul 11, 2022
1 parent ec78caf commit e038a21
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/modules/app_perl/doc/app_perl_admin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,25 @@ modparam("app_perl", "perl_destroy_func", "my_perl_destroy")
...
modparam("app_perl", "parse_mode", 1)
...
</programlisting>
</example>
</section>
<section id="app_perl.p.warn_mode">
<title><varname>warn_mode</varname> (int)</title>
<para>
Allows to enable warning for perl_parse(). If set to 1, "-w" is
passed to perl_parse() and detected warnings in the Perl script
should be printed to the log.
</para>
<para>
Default value is <emphasis>0</emphasis>.
</para>
<example>
<title>Set <varname>warn_mode</varname> parameter</title>
<programlisting format="linespecific">
...
modparam("app_perl", "warn_mode", 1)
...
</programlisting>
</example>
</section>
Expand Down

0 comments on commit e038a21

Please sign in to comment.