OlegG has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to do this
call_pv("CORE::socketpair", G_SCALAR);
And this works excellent on perl 5.20, but fails on perl 5.14 with message "Undefined subroutine &CORE::socketpair called".

So, is there a way to make such a thing on older perl?

Replies are listed 'Best First'.
Re: call_pv on CORE:: sub from XS
by Anonymous Monk on Sep 20, 2014 at 06:54 UTC
    Try "socketpair"
      Yes, also tried this.
      No success: "Undefined subroutine &main::socketpair called"