in reply to Running a C Program within Perl.
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Running a C Program within Perl.
by basicdez (Pilgrim) on Dec 27, 2001 at 21:34 UTC | |
by Sniper (Scribe) on Dec 27, 2001 at 21:50 UTC | |
by basicdez (Pilgrim) on Dec 27, 2001 at 21:56 UTC |