I've wrote in the module:


print $callback . '(' . $json . ');


and I've got 'dancer'respond on a browser:


somfunc({
"items" : [
"a",
"b",
"c",
"d"
]
}
);HTTP/1.0 200 OK
Server: Perl Dancer 1.3099
Content-Length: 1
Content-Type: text/html; charset=utf-8
X-Powered-By: Perl Dancer 1.3099

1


how to remove preformated text "HTTP/1.0 200 OK...."from the end?


thank in advance


just a begginer
/Sigis Dagis