gozer 2004/08/25 14:51:27
Modified: src/docs/2.0/user/porting compat.pod
src/docs/2.0/api/ModPerl Util.pod
src/docs/2.0/api Apache.pod
Log:
moved Apache::current_callback() to ModPerl::Util::current_callback
where it belongs
Revision Changes Path
1.62 +2 -2 modperl-docs/src/docs/2.0/user/porting/compat.pod
Index: compat.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/porting/compat.pod,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- compat.pod 23 Aug 2004 21:16:03 -0000 1.61
+++ compat.pod 25 Aug 2004 21:51:27 -0000 1.62
@@ -780,8 +780,8 @@
=head2 C<$r-E<gt>current_callback>
C<$r-E<gt>current_callback> is now simply a
-C<Apache::current_callback> and can be called for any of the phases,
-including those where C<$r> simply doesn't exist.
+C<ModPerl::Util::current_callback> and can be called for any of the
+phases, including those where C<$r> simply doesn't exist.
C<L<Apache::compat|docs::2.0::api::Apache::compat>> implements
C<$r-E<gt>current_callback> for backwards compatibility.
1.10 +2 -2 modperl-docs/src/docs/2.0/api/ModPerl/Util.pod
Index: Util.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/ModPerl/Util.pod,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Util.pod 18 Aug 2004 07:13:39 -0000 1.9
+++ Util.pod 25 Aug 2004 21:51:27 -0000 1.10
@@ -10,7 +10,7 @@
use ModPerl::Util;
# e.g. PerlResponseHandler
- $callback = Apache::current_callback;
+ $callback = ModPerl::Util::current_callback;
# exit w/o killing the interpreter
ModPerl::Util::exit();
@@ -46,7 +46,7 @@
Returns the currently running callback name,
e.g. C<'PerlResponseHandler'>.
- $callback = Apache::current_callback();
+ $callback = ModPerl::Util::current_callback();
=over 4
1.9 +0 -8 modperl-docs/src/docs/2.0/api/Apache.pod
Index: Apache.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache.pod,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Apache.pod 23 Aug 2004 18:56:39 -0000 1.8
+++ Apache.pod 25 Aug 2004 21:51:27 -0000 1.9
@@ -8,14 +8,6 @@
There is no Apache class per se.
-There are several modules that put their functions into the
-C<Apache::> namespace. For example
-C<L<ModPerl::Util|docs::2.0::api::ModPerl::Util>> defines a function
-C<L<Apache::current_callback()|docs::2.0::api::ModPerl::Util/C_current_callback_>>:
-
- use ModPerl::Util;
- my $callback = Apache::current_callback();
-
There are several modules that require the I<Apache> class as the
first argument to the class methods that they define. For example
C<L<Apache::ServerUtil|docs::2.0::api::Apache::ServerUtil>> defines a
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]