You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-dev@perl.apache.org by Jonathan <mo...@2xlp.com> on 2006/04/23 04:44:29 UTC
Apache2::Connection
Today I tried to use Apache2::connection, and i couldn't
why?
because these are the docs:
=====
use Apache2::Connection ();
# is connection still open?
$status = $c->aborted;
=====
now how the hell do i get $c?
Apache2::Connection->new() ?
Apache2::Connection->new(\$r) ?
no.
in the keepalive section, i finally see this:
====
use Apache2::RequestRec ();
use Apache2::Connection ();
use Apache2::Const -compile => qw(:conn_keepalive);
...
my $c = $r->connection;
====
That drove me f*ck*ng crazy for too long.
Can someone add that little bit about grabbing the $c to the main
docs so the next person who decides to do a little bit of work at
their neighborhood bar is just drunk and happy, and not drunk and
belligerent.
//Jonathan Vanasco
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
| RoadSound.com / Indie-Rock.net
| Collaborative Online Management And Syndication Tools
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: Apache2::Connection
Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Done..
Committed revision 396306.
--
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F
"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org