And then, some enterprising perl6 developer(s) will:
write a module that takes a full C-style prototype, and converts it into the glue code that can be saved into a new module or can be eval'd for immediate execution.
write a module that takes the previous module, combines it with the C parsing module that already exists in Perl5, and you can then just tell it what function you want, what header file to look in, and it will find the full prototype, again, either printing out the glue code, or eval'ing it for immediate use, depending on the caller
making the whole exercise in writing glue code incredibly trivial.