in reply to Help with my Crawler

You have a "smart quote" where Perl does not expect one. Get a decent editor and only ever use ASCII characters in your code:

print (“TCP Connection Success. \n"); # wrong print ("TCP Connection Success. \n"); # right

Also, Perl tells you the line number and column where it found the error. What part of that information did you have problems with?

Replies are listed 'Best First'.
Re^2: Help with my Crawler
by Anonymous Monk on Mar 08, 2011 at 11:21 UTC
    What would be a better editor? Im just coding in text editor, saving it as .pl and running through cmd.

      I don't know what operating you are using, and what the "text editor" is there. Depending on your operating system, there are likely many good choices. Personally, I like Padre. I also often use vi. Windows users also seem to like Notepad++, but I've never used it myself.