http://qs321.pair.com?node_id=11131360


in reply to Re: Interfacing Perl with C++, using XS, with external files, and using the STL as parameters and return values.
in thread Interfacing Perl with C++, using XS, with external files, and using the STL as parameters and return values.

Thanks for this well written article. I am new to this. I have a same requirement in my case. Could you please suggest me how can I call getMap(map) from perl script. I am not sure how to pass map as an argument to getMap(map) api. Thanks in advance.
  • Comment on Re^2: Interfacing Perl with C++, using XS, with external files, and using the STL as parameters and return values.

Replies are listed 'Best First'.
Re^3: Interfacing Perl with C++, using XS, with external files, and using the STL as parameters and return values.
by Anonymous Monk on Apr 16, 2021 at 12:02 UTC
    What is map? Try my $map = [ "hi", "there" ];