[sword-devel] What am I doing wrong - Sword API, Perl?

Peter von Kaehne refdoc at gmx.net
Sat Jul 9 00:10:13 MST 2011

What I want is to take an OSIS ref - say Matt.1.1 - and create a long
reference in a target language other than English - say

<reference osisRef="Matt.1.1">متا 1:1</reference>

What I am doing is:

my $scope= new Sword::VerseKey;

print Sword::VerseKey::convertToOSIS("Matt.1.1", $scope);

What I get currently is:

<reference osisRef="Matt.1.1">Matt.1.1</reference>

What am I doing wrong?



More information about the sword-devel mailing list