AddPerlModule
Method
func (DistributedApplicationBuilder) AddPerlModule( resourceName string, appDirectory string, moduleName string,) PerlAppResourceSignature
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 A reference to the I.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder