Re: Pushing OutputHandler using PerlFixupHandler

2005-03-22 Thread Tom Schindl
-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

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-22 Thread Stas Bekman
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

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-22 Thread 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

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-22 Thread Tom Schindl
-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

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-22 Thread Tom Schindl
-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 :-

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-22 Thread Stas Bekman
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

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-22 Thread Tom Schindl
-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

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-21 Thread Stas Bekman
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

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-21 Thread Tom Schindl
-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:

Re: Pushing OutputHandler using PerlFixupHandler

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

Pushing OutputHandler using PerlFixupHandler

2005-03-21 Thread Thomas Schindl
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