Embperl
view release on metacpan or search on metacpan
or the execution of the current component. So we have two sorts of
parameters I<Request> and I<Component> parameters. Request
parameters are automatically setup by Embperl with information
Embperl takes from the current running environment. When
Embperl is invoked via the C<Execute> function, you can pass any of
the parameters to Execute. Component parameters mainly reflect
the parameters given to C<Execute>.
=head2 filename
=over
=item Method:
$request -> param -> filename
=item Since:
2.0b6
=back
Gives the filename of the file that was actualy requested.
Inside of the applications C<init> function it can be changed
to force Embperl to serve a different file.
=head2 unparsed_uri
=over
=item Method:
$request -> param -> unparsed_uri
=item Since:
2.0b6
=back
The full unparsed_uri, includeing the query_string and the path_info.
=head2 uri
=over
=item Method:
$request -> param -> uri
=item Since:
2.0b6
=back
The decoded path of the unparsed_uri.
=head2 server_addr
=over
=item Method:
$request -> param -> server_addr
=item Since:
2.0b9
=back
URL of the server of the current request in the form
schema://addr:port/ e.g. https://perl.apache.org/ (port is omitted if it is
an default port)
=head2 path_info
=over
=item Method:
$request -> param -> path_info
=item Since:
2.0b6
=back
The path_info, that is anything in the path after the file the is currently served.
=head2 query_info
=over
=item Method:
$request -> param -> query_info
=item Since:
2.0b6
=back
Any parameters passed in a GET request after the question mark. The hash
C<%fdat> will contain these values in a already decoded and easy to use way.
So it's normly more convenient to use C<%fdat> instead.
=head2 language
=over
=item Method:
$request -> param -> language
=item Since:
2.0b6
=back
The primary langange found in the browser C<Accept-Language> HTTP header.
This value is used for all language-dependent functions inside Embperl.
You can set it change the selection of message returned by C<$request -> gettext>
and C<[= =]>.
=head2 cookies
=over
=item Method:
$request -> param -> cookies
=item Since:
2.0b6
=back
A hashref that contains all cookies send by the browser to the server.
=head2 cgi
=over
=item Method:
$request -> param -> cgi I<[read only]>
=item Since:
2.0b12
=back
Holds the CGI.pm object, which is used for file upload. If no file uploaded data
is send to the request, this member is undefined.
=head2 inputfile
( run in 0.691 second using v1.01-cache-2.11-cpan-39bf76dae61 )