Tassilo Parseval <[EMAIL PROTECTED]> writes: >> (You should unsharepvn() when you don't need it anymore - they are refcounted.) > >Cool! So that's another treasure not to be found in perlapi.pod: > > #define Perl_sharepvn(sv, len, hash) > >What about its third argument, though? It's an U32...so should 'hash' by >used as a sort of ID to unambiguously identify pointers? I suppose I >can't just set it to zero, can I?
Saddly no. Most of API functions that take a U32 hash as an arg will calculate the hash if you pass 0 but this one doesn't (as far as I can see). > >Tassilo