[sword-devel] New Perl Sword Interface

Troy A. Griffitts sword-devel@crosswire.org
Wed, 18 Jul 2001 04:00:19 -0700

Thank you!  This is really cool.

> --------
> I have some ideas for improving the interface, but for efficiency
> reasons, I'd like to know a few things ... is there a way to:
> - Get a list of books in a module
> - Get a list of chapters in a book
> - Get a list of verses in a chapter

This info is available from a VerseKey object.  Have a look at the
books[] member.
As Joachim stated, it is loaded from info in canon.h