[Dancer-users] how to remove preformated text

Sigis Dagilis sigidagi at hotmail.com
Tue Sep 4 23:41:55 CEST 2012

I've wrote in the module:

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

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

   "items" : [
);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


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

thank in advance

just a begginer 
/Sigis Dagis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20120904/c5aceb68/attachment.htm>

More information about the Dancer-users mailing list