| BabelObjects documentation | view source | Contained in the BabelObjects distribution. |
BabelObjects::Runner::RunData - stores all the data available for your program
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"));
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.
Jean-Christophe Kermagoret, jck@BabelObjects.Org (http://www.BabelObjects.Org)
perl(1).
| BabelObjects documentation | view source | Contained in the BabelObjects distribution. |