![]() |
Home / Documentation / 2.0 / API / | ![]() |
||
![]() ![]() ![]() |
||||
Apache::RequestUtil -- Methods for work with Apache::Request object | ||||
![]() ![]() |
|
||
$r->push_handlers(PerlResponseHandler => \&handler); $r->push_handlers(PerlResponseHandler => [\&handler, \&handler2]);
# XXX: not implemented yet $r->push_handlers(PerlResponseHandler => sub {...});
my $ref_content = $r->slurp_filename([$tainted]);
Return a reference to contents of $r->filename
.
By default the returned data is tainted (if run under -T
). If an
optional $tainted
flag is set to zero, the data will be marked as
non-tainted. Do not set this flag to zero unless you know what you are
doing, you may create a security hole in your program if you do. For
more information see the perlsec manpage. If you wonder why this
option is available, it is used internally by the
ModPerl::Registry
handler and
friends, because the CGI scripts that it reads are considered safe
(you could just as well require()
them).
|
![]() |
![]() ![]() ![]() |