Passing in an argument
#!/usr/bin/perl use Inline C => <<'END_C'; void greet(char* name) { printf("Hello %s\n", name); } END_C greet('Grant');
#!/usr/bin/perl use Inline C => <<'END_C'; void greet(char* name) { printf("Hello %s\n", name); } END_C greet('Grant');