in reply to Using Libwww for a Form Data Upload

you need:
use HTTP::Request::Common qw(POST)
because you will be posting to the webserver. POST takes a URL and an array ref which it turns into a query string:
POST $url, [ data => `cat binary_file.dat`, user => jimbo, pass => heehaw ];