PxPerl 5.8.7-6. This was the most recent PxPerl package downloaded from the site (pxperl.com). Maybe inline doesn't work with PxPerl. Inline is version: Inline-0.44.tar.gz
The reason why I tried PxPerl is that it already included inline. Scott > Of anything, really - perl, Inline::C, gcc, etc. There's not a lot to > go on in your message. > > -Ken > > On Jan 6, 2006, at 2:22 PM, Scott Kaplan wrote: > > > Of what? > > > > Scott > > > >> > >> What version? > >> > >> -Ken > >> > >>> Subject: simple Hello World gives errors > >>> > >>> C:\PXPerl\bin>perl test2.pl > >>> > >>> (contents of test2.pl) > >>> use Inline C => <<'END_C'; > >>> void greet() { > >>> printf("Hello, world\n"); > >>> } > >>> END_C > >>> > >>> greet; > >>> > >>> (Output) > >>> Can't use an undefined value as an ARRAY reference at > >>> C:/PXPerl/site/lib/Inline/ C.pm line 358. > >>> INIT failed--call queue aborted. > >>> > >>> Does anyone know why this doesn't work? > >>> > >>> Thanks in advance, > >>> Scott > >>> > >> > >