It's Version 1.26

Here's the entire output. I don't think the line numbers are that helpful though, I'm pretty sure the problem is to do with socket(...) not actually opening/creating the socket, but as it doesn't seem to return any error codes and I'm not sure what it is doing under the hood, I'm a bit lost as to where to go next for a fix.

I note that the Activestate examples are using IO::Socket rather than socket() directly and I further note that IO::Socket contains specifics for Win32, so that's where I'm inclined to think the problem lies.

Use of uninitialized value $sock in ref-to-glob cast at C:/Perl/site/l +ib/Cache/Memcached.pm line 368. Use of uninitialized value in vec at C:/Perl/site/lib/Cache/Memcached. +pm line 368. Use of uninitialized value $sock in ref-to-glob cast at C:/Perl/site/l +ib/Cache/Memcached.pm line 375. Use of uninitialized value in vec at C:/Perl/site/lib/Cache/Memcached. +pm line 375. Use of uninitialized value $sock in ref-to-glob cast at C:/Perl/site/l +ib/Cache/Memcached.pm line 376. send() on unopened socket at C:/Perl/site/lib/Cache/Memcached.pm line +376. Use of uninitialized value $res in numeric gt (>) at C:/Perl/site/lib/ +Cache/Memcached.pm line 379. Use of uninitialized value $sock in hash element at C:/Perl/site/lib/C +ache/Memcached.pm line 181. Use of uninitialized value $sock in hash element at C:/Perl/site/lib/C +ache/Memcached.pm line 168.

In reply to Re^2: Perl Memcached client under Windows XP by brancusi
in thread Perl Memcached client under Windows XP by brancusi

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.