in reply to Re: Re: Passing a very large string by reference to a c library
in thread Passing a very large string by reference to a c library

Perl does "pass by reference" already. No need to complicate things by taking a reference and passing that "by reference". So the above code does no copying and is really the simplest method.

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re: Passing a very large string by reference to a c library