http://www.perlmonks.org?node_id=996593


in reply to Debugging child pid 4577 exit signal Segmentation fault (11)

Hi, finally found the culprit. I cannot use the string concatenation on the header function, I think it has to do with the prototype thingy. This is the line that cause error.

return $cgi->header({-charset => "utf-8"}).$tmpl->output;

the header has to be assigned to a variable first then concatenate. I still wonder why ?

Thanks all.