Dear fellow monks, has anyone managed to install HTTP::Proxy 0.23 under Strawberry Perl 5.10.0.3? The cpan install gets stuck at test no. 22. Using the debugger on this test and stepping through as far as possible, I found a call of IO::Socket::sockname(), where the passed socket argument at least is not undefined, though something obviously seems to be wrong with it:
perl -d t/22http.t DB<1>b IO::Socket::sockname DB<2> c IO::Socket::sockname(C:/strawberry/perl/lib/IO/Socket.pm:245): 245: @_ == 1 or croak 'usage: $sock->sockname()'; DB<2> v 244 sub sockname { 245==>b @_ == 1 or croak 'usage: $sock->sockname()'; 246: getsockname($_[0]); 247 } DB<2> x $_[0] 0 HTTP::Daemon=GLOB(0x187d804) -> *Symbol::GEN1 FileHandle({*Symbol::GEN1}) => fileno(7) DB<3> n IO::Socket::sockname(C:/strawberry/perl/lib/IO/Socket.pm:246): 246: getsockname($_[0]); DB<3> n <--------never returns
The call to getsockname never returns. Do you have an idea what goes wrong here or how I can further analyze this?

In reply to Cannot install HTTP::Proxy under Strawberry Perl 5.10.0.3 by jds17

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.