Check out the new USENIX Web site.
[ActiveState] Data type mapping

Data passed in as parameters or out as return values need to be mapped on calls crossing language barriers. The following mappings occur:

Python                Perl
---------------       ----------------------
None            <---> undef
string          <---> string
float           <---> number
int             <---> int
long            <---> int (Python::Object if overflow)
perl ref object <---> ref
object          <---> Python::Object

Mappings are tried from the top until there is a match.


 www.ActiveState.com 8/32 ««/\»»