good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Passing a very large string by reference to a c libraryby dino (Sexton) |
on Jul 12, 2001 at 17:19 UTC ( [id://96021]=note: print w/replies, xml ) | Need Help?? |
Thks, This is what I've been looking at. The example doesn't use references, though example 6 does. I can try to meld both together so that I can call: find_index($key, \$data); I guess a lot depends on how SvPV works. If it copies the data then I need another method. dino
In Section
Seekers of Perl Wisdom
|
|