Hmm. Maybe I should hoist this up as a real snippet. {grin}use Inline C => 'int add(int a, int b) { return a + b; }'; print add(2,2), "\n";
-- Randal L. Schwartz, Perl hacker
In reply to RE: (jcwren) RE: Adding 2 + 2
by merlyn
in thread Adding 2 + 2
by merlyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |