The script in question is over 450 lines long and also has stuff in it that is NDA. Actually, more accurately it is a module being called by my script. If I totalled the calling script, this module and the other modules the script calls I think we are more in the ball park of 1200 lines.

I think I've done a fairly good job of describing the problem and I have a couple of good replies. All this without posting all that code.

Non-core modules? AFAICR Socket.pm is part of the base distribution of Perl. I guess it could be argued it is "non-core" since you have to use it in order to invoke it.

But wait: my OP was about the Socket module... so why are you asking me to post code that doesn't include it when that was part of the problem?

When I post to this site I normally post the amount of information I need to describe the issue I'm trying to solve and not bombard people with stuff to wade through that has nothing to do with the problem.

The script in question does not give the warning I cited in my OP when the gethostbyname call and use Socket; are removed. Put them back and the problem reoccurs.

It is just that straightforward.

The moral (I think) to what I'm seeing is I now have the ammuntion I need to "encourage" my client to upgrade his gcc to something newer than what is on there now.


In reply to Re^4: Perl 5.8.3 and Solaris 8, use Socket problem? by blue_cowdawg
in thread Perl 5.8.3 and Solaris 8, use Socket problem? by blue_cowdawg

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.