Re: Pushing OutputHandler using PerlFixupHandler

[prev] [thread] [next] [Date index for 2005/03/21]

From: Tom Schindl
Subject: Re: Pushing OutputHandler using PerlFixupHandler
Date: 12:53 on 21 Mar 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Geoffrey Young wrote:
|>    $r->push_handlers(
|>          PerlOutputFilterHandler =>
|>          \&Beso::OutFilterHandler::handler
|
|
| does it work if you call it as
|
|     $r->push_handlers(
|           PerlOutputFilterHandler =>
|           'Beso::OutFilterHandler::handler'
|         );
|
| instead?
|
| --Geoff
|
|

Nope. Browsing the docs I found this which is working:

- ---------------8<---------------
use Apache::Filter();

....
$r->add_output_filter( \&Beso::OutFilterHandler::handler );
....
- ---------------8<---------------

Is the above really supposed to work?

Tom


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCPsPDkVPeOFLgZFIRAq/dAJ93j2ljF8fkuaXa/EfJic2vqxMetACbB6Vn
WyF7Sjp1tg7X5BqBIm0rZGg=
=6wXO
-----END PGP SIGNATURE-----

(message missing)

Pushing OutputHandler using PerlFixupHandler
Thomas Schindl 12:08 on 21 Mar 2005

Re: Pushing OutputHandler using PerlFixupHandler
Geoffrey Young 12:47 on 21 Mar 2005

Re: Pushing OutputHandler using PerlFixupHandler
Tom Schindl 12:53 on 21 Mar 2005

Generated at 15:10 on 27 Mar 2005 by mariachi v0.52