NAME
Apache2::RequestData - collects all query and post parameters in a hash ref
VERSION
version 0.1
SYNOPSIS
Handle all Apache2 mod_perl parameters in one hash ref regardless if they are query or post parameters.
USAGE
use Apache2::RequestData;
# initialize from Apache2::RequestRec or Apache2::Dummy::RequestRec
my $rd1 = Apache2::RequestData->new($r)
my $params1 = $rd1->params;
# access params
$params1->{bla}...
# initialize from query string
my $rd2 = Apache2::RequestData->new('bla=blu&bli=blo');
# access params
say $rd2->params->{bli}...
DESCRIPTION
Apache2::RequestData just collects all query and post parameters of an Apache2 request rec into one hash ref.
AUTHOR
Jens Fischer <jeff@lipsia.de>
COPYRIGHT AND LICENSE
This software is copyright (c) 2021 by Jens Fischer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.