HTML::Mason::Params - Constructor parameter documentation
Mason has a lot of objects, most of which accept parameters when passed to their constructor. However, since most Mason objects are made by other Mason objects, rather than by end users, Mason has been designed so that when one object contains another, the container object can accept constructor params not only for itself, but also for any of its contained objects.
This means that typically, you simply make a top level object such as an ApacheHandler or Interp object, and pass it whatever parameters you want to set for any Mason object.
Of course, many people simply configure Mason via their httpd.conf file, and don't ever make a Mason object.
This document lists all of the Mason parameters are intended to be used by end users.
Type: list
Name in httpd.conf: AllowGlobals
Belongs to: HTML::Mason::Compiler
Type: string
Default: HTML::Mason status
Name in httpd.conf: ApacheStatusTitle
Belongs to: HTML::Mason::ApacheHandler
Type: string
Default: mod_perl
Name in httpd.conf: ArgsMethod
Belongs to: HTML::Mason::ApacheHandler
Type: boolean
Default: 1
Name in httpd.conf: AutoSendHeaders
Belongs to: HTML::Mason::Request::ApacheHandler
Type: boolean
Default: 0
Name in httpd.conf: Autoflush
Belongs to: HTML::Mason::Request
Type: string
Default: autohandler
Name in httpd.conf: AutohandlerName
Belongs to: HTML::Mason::Interp
Type: string
Name in httpd.conf: BufferClass
Belongs to: HTML::Mason::Request
This object is created multiple times by its container.
Type: string
Default: 10485760
Name in httpd.conf: CodeCacheMaxSize
Belongs to: HTML::Mason::Interp
Type: string
Default: HTML::Mason::Component
Name in httpd.conf: CompClass
Belongs to: HTML::Mason::Compiler::ToObject
Type: list
Default: filesystem root
Name in httpd.conf: CompRoot
Belongs to: HTML::Mason::Resolver::File
Type: object
Default: HTML::Mason::Compiler::ToObject->new
Belongs to: HTML::Mason::Interp
This object is created only once by its container.
Type: string
Name in httpd.conf: CompilerClass
Belongs to: HTML::Mason::Interp
This object is created only once by its container.
Type: hash
Name in httpd.conf: DataCacheDefaults
Belongs to: HTML::Mason::Request
Type: string
Name in httpd.conf: DataDir
Belongs to: HTML::Mason::Interp
Type: boolean
Default: 1
Name in httpd.conf: DeclineDirs
Belongs to: HTML::Mason::ApacheHandler
Type: string
Name in httpd.conf: DefaultEscapeFlags
Belongs to: HTML::Mason::Compiler
Type: string
Default: dhandler
Name in httpd.conf: DhandlerName
Belongs to: HTML::Mason::Request
Type: string
Default: text
Name in httpd.conf: ErrorFormat
Belongs to: HTML::Mason::Request
Type: string
Default: fatal
Name in httpd.conf: ErrorMode
Belongs to: HTML::Mason::Request
Type: regex
Default: /Subroutine .* redefined/i
Name in httpd.conf: IgnoreWarningsExpr
Belongs to: HTML::Mason::Interp
Type: string
Default: HTML::Mason::Commands
Name in httpd.conf: InPackage
Belongs to: HTML::Mason::Compiler::ToObject
Type: object
Default: HTML::Mason::Interp->new
Belongs to: HTML::Mason::ApacheHandler
This object is created only once by its container.
Type: string
Name in httpd.conf: InterpClass
Belongs to: HTML::Mason::ApacheHandler
This object is created only once by its container.
Type: object
Default: HTML::Mason::Lexer->new
Belongs to: HTML::Mason::Compiler
This object is created only once by its container.
Type: string
Name in httpd.conf: LexerClass
Belongs to: HTML::Mason::Compiler
This object is created only once by its container.
Type: string
Default: 32
Name in httpd.conf: MaxRecurse
Belongs to: HTML::Mason::Request
Type: code
Default: sub { print STDOUT grep {defined} @_ }
Name in httpd.conf: OutMethod
Belongs to: HTML::Mason::Request
Type: string
Name in httpd.conf: Postamble
Belongs to: HTML::Mason::Compiler::ToObject
Type: code
Name in httpd.conf: PostprocessPerl
Belongs to: HTML::Mason::Compiler
Type: code
Name in httpd.conf: PostprocessText
Belongs to: HTML::Mason::Compiler
Type: string
Name in httpd.conf: Preamble
Belongs to: HTML::Mason::Compiler::ToObject
Type: list
Name in httpd.conf: Preloads
Belongs to: HTML::Mason::Interp
Type: code
Name in httpd.conf: Preprocess
Belongs to: HTML::Mason::Compiler
Type: string
Name in httpd.conf: RequestClass
Belongs to: HTML::Mason::Interp
This object is created multiple times by its container.
Type: object
Default: HTML::Mason::Resolver::File->new
Belongs to: HTML::Mason::Interp
This object is created only once by its container.
Type: string
Name in httpd.conf: ResolverClass
Belongs to: HTML::Mason::Interp
This object is created only once by its container.
Type: boolean
Default: 0
Name in httpd.conf: StaticSource
Belongs to: HTML::Mason::Interp
Type: string
Default: HTML::Mason::Component::Subcomponent
Name in httpd.conf: SubcompClass
Belongs to: HTML::Mason::Compiler::ToObject
Type: boolean
Default: 1
Name in httpd.conf: UseObjectFiles
Belongs to: HTML::Mason::Interp
Type: boolean
Default: 1
Name in httpd.conf: UseStrict
Belongs to: HTML::Mason::Compiler::ToObject