in reply to Re: Regexp and Inline::C
in thread Regexp and Inline::C
I get this output:c_func('AAA:BBB'); c_func('AAA:BBB'); c_func('AAA:BBB'); c_func('AAA:BBB'); c_func('AAA:BBB'); c_func('AAA:BBB'); c_func('AAA:BBB'); c_func('AAA:BBB'); c_func('AAA:BBB'); c_func('AAA:BBB');
If I call the sub 10 times in a loop:AAA - BBB CCC - DDD CCC - DDD
I get:for(1 .. 10) {c_func('AAA:BBB')}
The problem is that the Inline Stack macros are deficient for performing callbacks - and one should instead base one's callbacks on the perlcall documentation (from where my example was drawn).Use of uninitialized value $1 in concatenation (.) or string at try.pl + line 10. Use of uninitialized value $2 in concatenation (.) or string at try.pl + line 10. - Use of uninitialized value $1 in concatenation (.) or string at try.pl + line 10. Use of uninitialized value $2 in concatenation (.) or string at try.pl + line 10. - AAA - BBB CCC - DDD Use of uninitialized value $1 in concatenation (.) or string at try.pl + line 10. Use of uninitialized value $2 in concatenation (.) or string at try.pl + line 10. - AAA - BBB CCC - DDD AAA - BBB CCC - DDD CCC - DDD
|
|---|