"be consistent" | |
PerlMonks |
Re: XS Modules: Dependenciesby chromatic (Archbishop) |
on Aug 22, 2005 at 17:32 UTC ( [id://485737]=note: print w/replies, xml ) | Need Help?? |
How does Foo::Bar::Builder and Foo::Bar::Store know, that there is a Foo::Bar or better what Foo::Bar is! The .pm files that use XSLoader or Dynaloader or whatever you use to load and initialize the shared library of XSUBs can use the other modules. ... how do i call the new function of Foo::Bar (defined in Foo/Bar.xs) inside Foo/Bar/Builder.xs? Assuming you've already loaded the other shared libraries in your .pm file, they look just like normal Perl subroutines, so call them as normal.
In Section
Seekers of Perl Wisdom
|
|