in reply to Re^10: Cannot access HTTP::Response content properly
in thread Cannot access HTTP::Response content properly

In a nutshell I want to: 1) call my perl script from my C program, 2) Perl script then issues a HTTP GET request, returns and prints out result, 3) C program captures this output that was printed to stdout

Then make a post about that. Will you please stop changing the subject?

The server sent you a document. You obtain it using ->decoded_content(charset => 'none'). You seem to think there's something wrong with the document.

To fix it requires knowing why you think the document is wrong, and what kind of of document it is in order to fix it.

Replies are listed 'Best First'.
Re^12: Cannot access HTTP::Response content properly
by URAvgDeveloper101 (Novice) on Nov 03, 2009 at 21:08 UTC

    Sorry for the bother. I'll leave you alone now. I didn't really change the subject if you look at my original post. Thank you for your help.

      You said that the UTF-16be needed to be "taken care of". I've been trying helping you with that, yet none of your answers remotely relate to that.

      And again. The parent post definitely does not explain why you think there's something wrong with the document.