On Fri, 2015-09-04 at 07:17 +1000, Mark Morgan wrote: > Peter, > > I don't use Perl, but it seems to me that you are assigning $doc_text > to $tmp and thus throwing away the new SWBuf you created. From then > on, $tmp and $doc_text will refer to the same thing. The string they > contain will never be different.
That is positively weird, but you were absolutely right. I clearly have a lot to learn still. I did think a variable is a variable, so it means it is variable, not constant.... :-) I separated the bond and now things work exactly as intended. Many many thanks! Peter _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page