perl-docs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt J. Avitable" <...@escapement.net>
Subject [mp2] obtaining connection object within a filter
Date Sun, 02 Mar 2003 18:05:44 GMT

Hi folks,

Just thought I would mention this online documentation discrepancy, which I don't 
believe has been addressed on the list yet.

This page:
http://perl.apache.org/docs/2.0/user/handlers/general.html
states that in order to obtain the connection object from within a filter, you must do this:

	my $c = $filter->connection;

However, as I just discovered, Apache::Filter does not have the 'connection' method.  
The correct method is stated on this page:
http://perl.apache.org/docs/2.0/user/handlers/filters.html

	my $c = $filter->c;

Hope this helps! :-) 

-m

-- 
## Matt J. Avitable (mja@escapement.net)
## General Partner / Programmer
## Escapement Arts And Media

## http://www.escapement.net/
## Phone: (804) 400-0605


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


Mime
View raw message