2008/12/1 Rob Dixon <[EMAIL PROTECTED]>:
> Dermot wrote:
>>
>> store.c:13: error: expected '=', ',', ';', 'asm' or '__attribute__'
....
>
> You probably have a poor C compiler. Try changing the declaration to
>
>  PerlInterpreter *my_perl;
>
> As long as it is in main it should make no difference.

Thanx Rob,

After a bit of googling, I found that the error usually refers to scoping issue.

With a bit of giggery-pokery I did

#include <EXTERN.h>
#include <perl.h>

static PerlInterpreter *my_perl;

I had to do that to a few files but I the principle was the same and
it worked :-)

I'd love to learn more C. I'm sure it would make me a better perler as
well as making my *NIX life easier.

Thanx again,
Dp.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to