use warnings; use Inline C => Config => BUILD_NOISY => 1; use Inline C => <<'EOC'; void foo() { printf("%d\n", GIMME_V == G_ARRAY); } EOC my $x = [foo()];