in reply to Re: chomp it chomp it good
in thread chomp it chomp it good

It will be great if you can post the code snippet of the c code..

Replies are listed 'Best First'.
Re^3: chomp it chomp it good
by whakka (Hermit) on Jun 03, 2009 at 17:47 UTC
    Here's an analogy:
    my $bar = 41; foo($bar); print $bar; use Inline C => <<'EOC'; void foo(SV* bar) { int b = (int)SvIV(bar); b++; sv_setiv(bar,b); } EOC