Jean-Christophe Kermagoret > BabelObjects > BabelObjects::Runner::RunData

Download:
BabelObjects-1.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.00   Source  

NAME ^

BabelObjects::Runner::RunData - stores all the data available for your program

SYNOPSIS ^

  use BabelObjects::Runner::RunData;

  $parameters{"req"} = $req;
  $parameters{"confParameters"} = $confParameters;
  my $aRunData = new BabelObjects::Runner::RunData(\%parameters);

  print $aRunData->getParameter("module");

  print $aRunData->getConfParameter(
                       $aRunData->getParameter("module"),
                       $aRunData->getParameter("parameter"));

DESCRIPTION ^

RunData stores all the information available : * initialization data available through getConfParameter("path") where path is the XML path to the element you want * http request information available through getParameter("parameterName")

You can add the information you want in the RunData object without risk to break anything. For example, in the java version, you have the HttpServletResponse too.

AUTHOR ^

Jean-Christophe Kermagoret, jck@BabelObjects.Org (http://www.BabelObjects.Org)

SEE ALSO ^

perl(1).

syntax highlighting: