[Catalyst] How to execute a script

Jose Luis Martinez jlmartinez-lists-catalyst at capside.com
Thu Dec 3 12:00:48 GMT 2009


Joel Bernstein escribió:
> 2009/12/3 Ha, Tuan Trung <hatrungttha at gmail.com>:
>> Hi everyone,
>>
>> I am new to Catalyst, and I just want to execute a script from
>> Controller in Catalyst, something like this:
>>
>> system("perl /path/to/my/script.pl");
>>

I've had to do this:

{
   local $SIG{'CHLD'} = 'DEFAULT';

   my $ret = system(...);

}

Note: I'm using the devel server in forked mode, and using a quite old 
Catalyst (debian etch distro).

Jose Luis Martinez
jlmartinez at capside.com



More information about the Catalyst mailing list