Yeah, I had problems before with bare word issues using it as just the value that you would see in the cookbook. To me the problem seemed more apparent from the debug session, but I've been pretty intimate with the code I have been working on for the past couple days. I did not think of the string part, nor did I discern that from the documentation I read, but changing my code to the following worked well.
sub make_server { my ($ipv6,$conn) = @_; print "Using protocol = $protocol, port = $socket_port.\n" if ($de +bug); if ($ipv6) { $server = IO::Socket::INET->new(Listen => $conn, LocalAddr => "localhost:$socket_port", Proto => $protocol, Reuse => 1) or die "Couldn't make IPv6 server " . $server{'LocalAddr'} ." + on port $socket_port: $!\n"; print "Running IPv6 enabled on $socket_port.\n" if ($debug); } else { $server = IO::Socket::INET->new(LocalAddr => "localhost:$sock +et_port", Proto => $protocol, Reuse => 1, Listen => $conn) or die "Can't make $protocol server " . $server{'LocalAddr'} +. " on port $socket_port: $!\n"; print "Running on $socket_port.\n" if ($debug); } }
Hope that helps out anyone who may encounter this in the future.

In reply to Re^2: Socket.pm returning Protocol not supported by gokuraku
in thread Socket.pm returning Protocol not supported by gokuraku

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.