in reply to URL Redirect
If you want to eliminate the dependency on the curl executable, maybe take a look at Net::Curl (closest to Curl) or WWW::Mechanize (closer to emulating a real webbrowser) or HTTP::Tiny (make a simple HTTP request).