|
When functions within an XS source file must be separated into packages the PACKAGE keyword
should be used. This keyword is used with the MODULE keyword and must follow immediately after
it when used.
MODULE = RPC PACKAGE = RPC
[ XS code in package RPC ]
MODULE = RPC PACKAGE = RPCB
[ XS code in package RPCB ]
MODULE = RPC PACKAGE = RPC
[ XS code in package RPC ]
|
|
The same package name can be used more than once, allowing for non-contiguous code. This is
useful if you have a stronger ordering principle than package names.
Although this keyword is optional and in some cases provides redundant information it
should always be used. This keyword will ensure that the XSUBs appear in the desired package.
|
|