in reply to create a HTTP::Response object from a raw buffer?
If you can't use a particular module that performs the task you have to do for any reason, then there is nothing to stop you inspecting the source of that module and seeing how they do it.
For your particular purpose--extracting the status code--you might take a look at the function _trivial_http_get() in LWP::Simple. It looks like this does pretty much exactly what you want to do, though you may not want the redirection processing. Then again, maybe you do:)
|
|---|