Hmm, I would think that if PxPerl includes Inline, then it ought to work. But until a couple days ago I'd never even heard of PxPerl, so I don't know much about it.
You'll probably have better luck with ActivePerl, I see that Inline is available as a PPM for it. -Ken > -----Original Message----- > From: Scott Kaplan [mailto:[EMAIL PROTECTED] > Sent: Monday, January 09, 2006 9:21 AM > To: E-mail inline list > Cc: [EMAIL PROTECTED] > Subject: Re: simple Hello World gives errors > > 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 > > >>> > > >> > > > > >