use warnings; use Inline C => <<'EOC'; #include SV * foo() { printf("Hello World\n"); } EOC foo();