martinthurn
New member
1. NEVER ask a question here if your code does not have "use strict; use warnings;" at the top.
2. I am a Perl PROGRAMMER, not a scripter. You're much more likely to get an intelligent answer if you do not call it scripting.
3. There is no code in your program to return anything, so your statement "nothing is returned" means nothing is wrong.
4. If you're connecting to port 80 you should be using the LWP module.
5. I don't think you can use <> on an IO::Socket object. Try $sock->read() instead. (This information would be garnered if you RTFM)
2. I am a Perl PROGRAMMER, not a scripter. You're much more likely to get an intelligent answer if you do not call it scripting.
3. There is no code in your program to return anything, so your statement "nothing is returned" means nothing is wrong.
4. If you're connecting to port 80 you should be using the LWP module.
5. I don't think you can use <> on an IO::Socket object. Try $sock->read() instead. (This information would be garnered if you RTFM)