Anyone any idea what this error means?

Layer does not match this perl at C:/perl32/lib/IO/Socket.pm line 80, +<> line 1.

Which is this line:

socket($sock,$domain,$type,$protocol) or return undef;

Update: Thanks to perlbiotics, I ran the code with PERLIO_DEBUG=trace.log and these are the last few line of the trace produced:

828831.pl:9 Layer 1 is crlf 828831.pl:9 openn(crlf,'(Null)','rb',-1,0,0,00000000,1,0140F5C8) 828831.pl:9 Layer 0 is unix 828831.pl:9 Layer 0 is unix 828831.pl:9 PerlIO_push f=034589D0 unix rb 0344E1AC 828831.pl:9 5 _is_ a regular file 828831.pl:9 refcnt_inc: fd 5 refcnt=1 828831.pl:9 PerlIO_push f=034589D0 crlf rb 0344E1AC C:/perl32/lib/attributes.pm:91 refcnt_dec: fd 5 refcnt=0 C:/perl32/lib/attributes.pm:91 PerlIO_pop f=034589D0 crlf C:/perl32/lib/attributes.pm:91 PerlIO_pop f=034589D0 unix 828831.pl:70 refcnt_dec: fd 4 refcnt=0 828831.pl:70 PerlIO_pop f=034589CC crlf 828831.pl:70 PerlIO_pop f=034589CC unix C:/perl32/lib/IO/Socket.pm:80 Layer 1 is crlf C:/perl32/lib/IO/Socket.pm:80 openn(crlf,'(Null)','rb',4,0,0,00000000, +0,00000000) C:/perl32/lib/IO/Socket.pm:80 Layer 0 is unix C:/perl32/lib/IO/Socket.pm:80 Layer 0 is unix 828831.pl:0 Destruct 0344D834

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"

In reply to Layer does not match this perl by BrowserUk

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.