[sword-devel] (Perl) Getting list of modules
Troy A. Griffitts
sword-devel@crosswire.org
Sat, 28 Jun 2003 14:47:10 -0700
Hey guys, sorry about that. Missed a std::string still out there. CVS
should compile just fine now.
-Troy.
Christian Renz wrote:
>> Hm, seems like I added them in CVS after 1.5.5. Wait for 1.5.6 or get
>> CVS :)
>
>
> Tried to compile current CVS, but right now it seems to be broken in
> diatheke.cpp :(.
>
>> Oh, seems like I'm not good in Perl :)
>
>
> No, seems we think and thus express ourselves differently :). Your
> code is just as valid, although the C-style
> for (my $i = 0; i < $x; $x++)
>
> is usually considered deprecated in Perl and replaced by
>
> foreach (0..$x)
>
> or
>
> foreach my $i (0..$x)
>
>> can't add Perl functions to the Swig files (which use C/C++ syntax).
>
>
> Whoops... sorry, then I confused something. *sigh* It sounded like a
> good idea...
>
> Greetings,
> Christian
>