in reply to http post requst content from file

Not really, as the file needs to be read into memory anyway to be sent to the recipient. You could play with it, but you'd merely be moving around the code that ultimately performs the read.

...roboticus

Replies are listed 'Best First'.
Re^2: http post requst content from file
by Corion (Patriarch) on Feb 17, 2010 at 15:19 UTC

    There also is IO::Sendfile and Sys::Sendfile, which avoid some of the buffers data is copied through while being read from disk and sent through a socket. Your OS needs to support some kind of sendfile API for that though and the module needs to support that flavour of OS.