Mailing List Archive

svn commit: r396306 - /perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Connection.pod
Author: pgollucci
Date: Sun Apr 23 12:15:14 2006
New Revision: 396306

URL: http://svn.apache.org/viewcvs?rev=396306&view=rev
Log:
update the docs to say how to get a connection object.

I actually had the same question Jonathan Vanasco a while ago


Modified:
perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Connection.pod

Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Connection.pod
URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Connection.pod?rev=396306&r1=396305&r2=396306&view=diff
==============================================================================
--- perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Connection.pod (original)
+++ perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Connection.pod Sun Apr 23 12:15:14 2006
@@ -8,7 +8,11 @@
=head1 Synopsis

use Apache2::Connection ();
-
+ use Apache2::RequestRec ();
+
+ my $c = $r->connection;
+
+ my $c = $r->connection;
# is connection still open?
$status = $c->aborted;




---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org