NAME

Apache::WeBWorK - mod_perl handler for WeBWorK 2.

CONFIGURATION

This module should be installed as a Handler for the location selected for WeBWorK on your webserver. Refer to the file conf/webwork.apache-config for details.

APACHE REQUEST HANDLER

handler($r)

ERROR HANDLING ROUTINES

backtrace()

Produce a stack-frame traceback for the calls up through the ones in Apache::WeBWorK.

ERROR OUTPUT FUNCTIONS

htmlMessage($r, $warnings, $exception, @backtrace)

Format a message for HTML output reporting an exception, backtrace, and any associated warnings.

textMessage($r, $warnings, $exception, @backtrace)

Format a message for HTML output reporting an exception, backtrace, and any associated warnings.

htmlBacktrace(@frames)

Formats a list of stack frames in a backtrace as list items for HTML output.

textBacktrace(@frames)

Formats a list of stack frames in a backtrace as list items for text output.

htmlWarningsList(@warnings)

Formats a list of warning strings as list items for HTML output.

textWarningsList(@warnings)

Formats a list of warning strings as list items for text output.

htmlEscape($string)

Protect characters that would be interpreted as HTML entities using the CGI.pm escapeHTML() routine. Then, replace line breaks with HTML ``<br />'' tags.