C:\>type a.c void foo() { printf("Hello from foo\n"); } C:\>type b.c void bar() { printf("Hello from bar\n"); } C:\>type try.pl use warnings; use Inline C => "./a.c"; use Inline C => "./b.c"; foo(); bar(); C:\>perl try.pl Hello from foo Hello from bar C:\>