use strict; use warnings; use Inline ( C => 'DATA', directory => 'inline_dir', name => 'Hello', ); hello(); __DATA__ __C__ #include void hello(){ puts("Hello 123!!"); }