What is the directory you're uploading to (and you're _sure_ the permissions are correct? What is the url you're using? What's the exact browser error (i.e. what does "nothing happens" mean)?
Also, be sure to take a look at How (Not) To Ask A Question and also at Writeup Formatting Tips for how to use code and readmore tags to make it easier for everyone to see/read/understand (read: be willing to respond to) your post.
Comment on Re: Problem retrieving data using WWW::Curl
Don't put CGI scripts in a directory chmoded to 777, it's a Bad Idea TM. It means that ANYONE can write to that directory. Is that really what you want? 755 is a much safer idea :)
----------
My cow-orkers were talking in punctuation the other day. What disturbed me most was that I understood it.