http://www.perlmonks.org?node_id=1002677


in reply to Add HTTP Post For Socket Connection

Welcome randallc59,

I looked at this yesterday, and tried to format your code, but it just takes too long and I wasn't sure I was doing it correctly. While Perl doesn't have a problem with line and space formatting, human monks do.

I suspect that you could copy and paste from a *nix terminal to the HTML to ask this question, but *nix uses "\n" for line termination and HTML needs "\r\n" within the code.

Also <code> should end with </code>

Try it and verify that it looks correct. That's what the 'preview' button if for...Ed

"Well done is better than well said." - Benjamin Franklin

  • Comment on Re: Add HTTP Post For Socket Connection