examples : http://www.perl.com/pub/a/2001/02/inline.html
module : http://www.cpan.org/modules/by-module/Inline/
use Inline C => <<'END_C'; void greet() { printf("Hello, world\n"); } END_C greet;
Simply run this script from the command line and it will print (you guessed it):
Hello, world
David "Sniper" Rigaudiere
In reply to Re: Running a C Program within Perl.
by Sniper
in thread Running a C Program within Perl.
by basicdez
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |