Re: Passing data structures between Stacked Handlers

2000-11-12 Thread Dave Kaufman
"Thomas Klausner" [EMAIL PROTECTED] wrote: Is there a module that can do "Stacked Handler Pipelining", but doesn't pass around tied filehandles but data structures ? Andreas König's Apache::HeavyCGI is a nice alternative approach to the use of stacked handlers. If there isn't, could it

Re: Passing data structures between Stacked Handlers

2000-11-12 Thread spam
On Sun, 12 Nov 2000, Dave Kaufman wrote: Is there a module that can do "Stacked Handler Pipelining", but doesn't pass around tied filehandles but data structures ? Can't you allocate some generic namespace, or better yet, create your own package called config and in that export functions

Re: Passing data structures between Stacked Handlers

2000-11-12 Thread Perrin Harkins
Thomas Klausner wrote: If there isn't, could it be implemented by dumping the data structure to $r-notes (with Data::Dumper) and have it eval'ed back by the next handler? If you use $r-pnotes, you can just put a reference to an arbitrary data structure into it and it will still be there in

Re: Passing data structures between Stacked Handlers

2000-11-12 Thread Thomas Klausner
Hi! If you use $r-pnotes, you can just put a reference to an arbitrary data structure into it and it will still be there in the next handler. No need to serialize it with Data::Dumper. Better than using a normal global because it gets automatically cleaned up after the request. Thanks for

Passing data structures between Stacked Handlers

2000-11-11 Thread Thomas Klausner
Hi! Is there a module that can do "Stacked Handler Pipelining", but doesn't pass around tied filehandles but data structures ? If there isn't, could it be implemented by dumping the data structure to $r-notes (with Data::Dumper) and have it eval'ed back by the next handler? -- D_OMM