Rob,

I tested the solutions you suggested and got the expected output, but the two C 
functions are unable to call each other. If I put them both in a single file, 
then (predictably) they see each other.

Patrick's suggestion (scalar of cat of multiple files) did the trick. Thanks to 
you both.

Andy

----------------------------
use Inline C => 'src/myCcode.c';
use Inline C => <<'EOC';
void again() {
  printf("Hello again\n");
}
EOC
greet();
again();
----------------------------
use Inline C => 'src/myCcode.c';
use Inline C => 'src/moreC.c';
greet();
again();

 

       
---------------------------------
Like movies? Here's a limited-time offer: Blockbuster Total Access for one 
month at no cost.

Reply via email to