in reply to Error while using LWP::Socket to send XML Data

Have you read the documentation for LWP::Socket? Did you read this part...?

Beware: New code should not use this module. The IO::Socket::INET module provide the standard Perl interface to OO Internet sockets. Even LWP is now rewritten to use IO::Socket::INET throughout.

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
  • Comment on Re: Error while using LWP::Socket to send XML Data

Replies are listed 'Best First'.
Re^2: Error while using LWP::Socket to send XML Data
by mmartin (Monk) on May 09, 2013 at 16:11 UTC
    Hey tobyink, thanks for the reply.

    No, I did not see that... But I do now, thanks.
    So, should I just use the "use Socket;" Perl Module? This one here --> "http://search.cpan.org/~dapm/perl-5.14.4/ext/Socket/Socket.pm"?

    Sorry, I had just Googled something like "Perl Script, make socket connection" or something like that, and I think
    that was just one of the first ones that came up.


    Thanks again for the reply!


    Thanks,
    Matt

      The module that LWP::Socket suggests is IO::Socket::INET. That's a core module, bundled with Perl, so you already have it installed.

      package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name