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).
To install BabelObjects::Runner::RunData, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BabelObjects::Runner::RunData
CPAN shell
perl -MCPAN -e shell install BabelObjects::Runner::RunData
For more information on module installation, please visit the detailed CPAN module installation guide.