-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stas Bekman wrote:
| Tom Schindl wrote:
|
|> -BEGIN PGP SIGNED MESSAGE-
|> Hash: SHA1
|>
|> and now without a typo :-(
|
|
| Looks good, Tom. One question though: Why not just do:
|
|
| PerlOutputFilterHandler Beso::OutFilterHandler
|
|
| or
Tom Schindl wrote:
Exactly as the title of the section should explain:
"Adding OutFilters dynamically" ;-)
Thanks Tom. Both patches are now committed with a few tweaks and
extensions. (will be online within 6h)
--
__
Stas Bekman
Tom Schindl wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
and now without a typo :-(
Looks good, Tom. One question though: Why not just do:
PerlOutputFilterHandler Beso::OutFilterHandler
or did you mean the patch to be just a demonstration of how to add a
filter if you are already insid
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
and now without a typo :-(
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCQGbGkVPeOFLgZFIRAttrAJ9NsndbNWSgoDWCyxbSRbB7RnsFUgCghGh7
VNR3MxH4ksdK5nHH8KhzMnw=
=SsgX
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stas Bekman wrote:
| Tom Schindl wrote:
|
[...]
|
| and finally the config section is lucking. Otherwise users will not know
| when this handler is run :)
|
| Thanks Tom.
|
Ok. Here it is including the config-sections and without the unneeded
imports :-
Tom Schindl wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[...]
Stas Bekman wrote:
|
| I suppose it'd be nice to mention those in
| http://perl.apache.org/docs/2.0/user/handlers/filters.html
| patches are welcome :)
|
[...]
Here's a proposed patch for the docs. I didn't manage to create diff
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[...]
Stas Bekman wrote:
|
| I suppose it'd be nice to mention those in
| http://perl.apache.org/docs/2.0/user/handlers/filters.html
| patches are welcome :)
|
[...]
Here's a proposed patch for the docs. I didn't manage to create diff
using the svn diff
Tom Schindl wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Geoffrey Young wrote:
|>$r->push_handlers(
|> PerlOutputFilterHandler =>
|> \&Beso::OutFilterHandler::handler
[...]
Nope. Browsing the docs I found this which is working:
- ---8<---
use Ap
-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:
> $r->push_handlers(
> PerlOutputFilterHandler =>
> \&Beso::OutFilterHandler::handler
does it work if you call it as
$r->push_handlers(
PerlOutputFilterHandler =>
'Beso::OutFilterHandler::handler'
);
instead?
--Geoff
Hi,
am I too stupid or does anybody see the problem with the code above doesn't
push an output-filter? When uncommenting PerlOutputFilterHandler line the
filter is invoked but I cannot push them dynamically. Why?
-8<-
PerlSetVar AxDebugLevel 9
PerlFixupHan
11 matches
Mail list logo