The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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).