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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Debugging child pid 4577 exit signal Segmentation fault (11)
by keenlearner (Acolyte) on Oct 01, 2012 at 07:47 UTC | |
by keenlearner (Acolyte) on Oct 01, 2012 at 07:52 UTC | |
by Anonymous Monk on Oct 01, 2012 at 10:31 UTC | |
Re^2: Debugging child pid 4577 exit signal Segmentation fault (11)
by keenlearner (Acolyte) on Oct 01, 2012 at 07:27 UTC |
In Section
Seekers of Perl Wisdom