in reply to prototyle mismatch error using LWP::Simple and CGI.
use CGI ':standard'; use LWP::Simple (); ... print LWP::Simple::head(...); [download]