in reply to Re^2: own perl module based on c library
in thread own perl module based on c library

#include <stdio.h> int tst(int len,char str[1024]){ printf("called c from perl len:'%i' str:'%s' \n",len, str); return 1; } int main( ){ tst(54,"char"); return 1; }
then what's wrong here, in C it works well, module for perl compiled well, but this
use TST; TST::test(4444,"ss");
prints called c from perl len:'4444'  str:'(null)'