++ed by:
FANY HMA RUZ GRANTM

4 PAUSE users
2 non-PAUSE users.

Jonathan Swartz

NAME

HTML::Mason::Request - Mason Request Class

SYNOPSIS

    $m->abort (...)
    $m->comp (...)
    etc.

DESCRIPTION

The Request API is your gateway to all Mason features not provided by syntactic tags. Mason creates a new Request object for every web request. Inside a component you access the current request object via the global $m.

COMPONENT PATHS

The methods "comp" in Request, "comp_exists" in Request, "fetch_comp" in Request, and "process_comp_path" in Request take a component path as argument.

  • If the path is absolute (starting with a '/'), then the component is found relative to the component root.

  • If the path is relative (no leading '/'), then the component is found relative to the current component directory.

  • If the path matches both a subcomponent and file-based component, the subcomponent takes precedence.

METHODS

APACHE-ONLY METHODS

These additional methods are available when running Mason with mod_perl and the ApacheHandler.

AUTHOR

Jonathan Swartz, swartz@transbay.net

SEE ALSO

HTML::Mason::Component

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 44:

You can't have =items (as at line 48) unless the first thing after the =over is an =item

Around line 344:

You can't have =items (as at line 348) unless the first thing after the =over is an =item