| Apache2-TrapSubRequest documentation | view source | Contained in the Apache2-TrapSubRequest distribution. |
Apache2::TrapSubRequest - Trap a lookup_file/lookup_uri into a scalar
Version 0.03
# ...
use Apache2::TrapSubRequest ();
sub handler {
my $r = shift;
my $subr = $r->lookup_uri('/foo');
my $data;
$subr->run_trapped(\$data);
# ...
Apache2::OK;
}
Run the output of a subrequest into a scalar reference.
dorian taylor, <dorian@cpan.org>
Please report any bugs or feature requests to
bug-apache2-trapsubrequest@rt.cpan.org, or through the web interface at
http://rt.cpan.org. I will be notified, and then you'll automatically
be notified of progress on your bug as I make changes.
Copyright 2005 dorian taylor, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Apache2-TrapSubRequest documentation | view source | Contained in the Apache2-TrapSubRequest distribution. |