addPerlModule
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addPerlModule( resourceName: string, appDirectory: string, moduleName: string): PerlAppResource;}Signature
method
addPerlModule builderAdds a Perl module to the application model. The module is executed using `perl -MModule::Name -e "Module::Name->run()"`.
addPerlModule( resourceName: string, appDirectory: string, moduleName: string): PerlAppResourceParameters
resourceName stringThe name of the resource.appDirectory stringThe path to the working directory for the application.moduleName stringThe fully qualified Perl module name (e.g., `"MyApp::Main"`).Returns
PerlAppResource Applies to
This method applies to the following types: