📄 command.pm
字号:
# # /*# * *********** WARNING **************# * This file generated by ModPerl::WrapXS/0.01# * Any changes made here will be lost# * ***********************************# * 01: lib/ModPerl/Code.pm:708# * 02: lib/ModPerl/WrapXS.pm:624# * 03: lib/ModPerl/WrapXS.pm:1173# * 04: Makefile.PL:423# * 05: Makefile.PL:325# * 06: Makefile.PL:56# */# package Apache2::Command;use strict;use warnings FATAL => 'all';use Apache2::XSLoader ();our $VERSION = '2.000002';Apache2::XSLoader::load __PACKAGE__;1;__END__=head1 NAMEApache2::Command - Perl API for accessing Apache module command information=head1 Synopsis use Apache2::Module (); use Apache2::Command (); my $module = Apache2::Module::find_linked_module('mod_perl.c'); for (my $cmd = $module->cmds; $cmd; $cmd = $cmd->next) { $cmd->args_how(); $cmd->errmsg(); $cmd->name(); $cmd->req_override(); }=head1 DescriptionC<Apache2::Command> provides the Perl API for accessing Apache modulecommand information=head1 APIC<Apache2::Command> provides the following functions and/or methods:=head2 C<args_how>What the command expects as arguments: $how = $cmd->args_how();=over 4=item obj: C<$cmd>( C<L<Apache2::Command object|docs::2.0::api::Apache2::Command>> )=item ret: C<$how> ( C<L<Apache2::Const :cmd_howconstant|docs::2.0::api::Apache2::Const/C__cmd_how_>> )The flag value representing the type of this command(i.e. C<Apache2::Const::ITERATE>, C<Apache2::Const::TAKE2>).=item since: 2.0.00=back=head2 C<errmsg>Get I<usage> message for that command, in case of syntax errors: $error = $cmd->errmsg();=over 4=item obj: C<$cmd>( C<L<Apache2::Command object|docs::2.0::api::Apache2::Command>> )=item ret: C<$error> ( string )The error message=item since: 2.0.00=back=head2 C<name>Get the name of this command: $name = $cmd->name();=over 4=item obj: C<$cmd>( C<L<Apache2::Command object|docs::2.0::api::Apache2::Command>> )=item ret: C<$name> ( string )The command name=item since: 2.0.00=back=head2 C<next>Get the next command in the chain of commands for this module: $next = $cmd->next();=over 4=item obj: C<$cmd>( C<L<Apache2::Command object|docs::2.0::api::Apache2::Command>> )=item ret: C<$next>( C<L<Apache2::Command object|docs::2.0::api::Apache2::Command>> )Returns the next command in the chain for this module, C<undef> forthe last command.=item since: 2.0.00=back=head2 C<req_override>What overrides need to be allowed to enable this command: $override = $cmd->req_override=over 4=item obj: C<$cmd>( C<L<Apache2::Command object|docs::2.0::api::Apache2::Command>> )=item ret: C<$override> ( C<L<Apache2::Const :overrideconstant|docs::2.0::api::Apache2::Const/C__override_>> )The bit mask representing the overrides this command is allowed in(i.e C<Apache2::Const::OR_ALL>/C<Apache2::Const::ACCESS_CONF>).=item since: 2.0.00=backFor example: use Apache2::Const -compile => qw(:override); $cmd->req_override() & Apache2::Const::OR_AUTHCFG; $cmd->req_override() & Apache2::Const::OR_LIMIT;=head1 See AlsoL<mod_perl 2.0 documentation|docs::2.0::index>.=head1 Copyrightmod_perl 2.0 and its core modules are copyrighted underThe Apache Software License, Version 2.0.=head1 AuthorsL<The mod_perl development team and numerouscontributors|about::contributors::people>.=cut
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -