in reply to Re: http post requst content from file
in thread http post requst content from file

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.