I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2011-03-28 10:55:42.090228-07 by surinder
Not table to run C program in perl
package my; use strict; use warnings; use Inline C => <<'END_C'; void greet() { printf("Hello, world! "); } END_C greet; ############################################## getting error message during execution C:\Capptool>.\Environment\Perl\bin\perl abc.pl defined(%hash) is deprecated at blib\lib\Inline.pm (autosplit into blib\lib\auto \Inline\check_config_file.al) line 667. (Maybe you should just omit the defined()?) Can't use an undefined value as an ARRAY reference at C:/Capptool/Environment/Pe rl/site/lib/Inline/C.pm line 358. BEGIN failed--compilation aborted at my.pm line 13. Compilation failed in require at abc.pl line 25. BEGIN failed--compilation aborted at abc.pl line 25.
Direct Responses: 13282 | Write a response
Posted on 2011-03-29 01:21:26.897511-07 by sisyphus in response to 13280
Re: Not table to run C program in perl
This looks like an older version of Inline.
Does Inline-0.48 build, test and install ok for you ?

Also it would be better if you could subscribe to the Inline mailing list, and follow this up on that forum.
See http://lists.perl.org/list/inline.html for details regarding subscription.

This works ok for me:
package my; use strict; use warnings; use Inline C => <<'END_C'; void greet() { printf("Hello, world!"); } END_C greet;


Cheers,
Rob
Direct Responses: 13283 | Write a response
Posted on 2011-03-29 05:59:48.873957-07 by rurban in response to 13282
Re: Not table to run C program in perl
1. This is a failure with perl-5.13, which deprecated defined %hash.
2. I just fixed a windows bug for spaces in the current dir (such as .cpan in My Documents) https://rt.cpan.org/Public/Bug/Display.html?id=67053
Reini
Direct Responses: 13285 | Write a response
Posted on 2011-03-29 17:30:27.937347-07 by sisyphus in response to 13283
Re: Not table to run C program in perl
Afaik, the "defined %hash" deprecation warning began with perl-5.11, and you shouldn't get that warning with Inline-0.46 (and later).

Cheers,
Rob
Direct Responses: Write a response