Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Docs-dev

Apache2::Connection

 

 

ModPerl docs-dev RSS feed   Index | Next | Previous | View Threaded


modperl-list at 2xlp

Apr 22, 2006, 7:44 PM

Post #1 of 2 (2029 views)
Permalink
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[at]perl.apache.org
For additional commands, e-mail: docs-dev-help[at]perl.apache.org


pgollucci at p6m7g8

Apr 23, 2006, 12:16 PM

Post #2 of 2 (1884 views)
Permalink
Re: Apache2::Connection [In reply to]

Done..

Committed revision 396306.

--
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci[at]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[at]perl.apache.org
For additional commands, e-mail: docs-dev-help[at]perl.apache.org

ModPerl docs-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.