Quantcast
Channel: ActiveState Community Site - PDK discussion
Viewing all articles
Browse latest Browse all 116

"Illegal declaration of subroutine Perl6::Form::form" with PerlApp 9.2.1 W7/64

$
0
0

Hello,

Using Perl 5.016, PerlApp 9.2.1 on Windows 7 / 64, with the following code:

use 5.014;
use warnings;
use strict;
use Time::HiRes;
use Perl6::Form 'form';
use Encode;
use Win32::Console;
print 'foo';
exit;

I get the following error when executing the compiled version of the script:

Illegal declaration of subroutine Perl6::Form::form at /Perl6/Form.pm line 1062.
BEGIN failed--compilation aborted at array_push-slice_compare.pl line 7.

.

Of course I installed Perl6-Form-0.04 package using ppm and the script works when used on the console as array_push-slice_compare.pl

Is someone having an idea of what is wrong in my code (was compiling well in the past with a prior version of PerlApp Under Windows Xp 32 bits and Perl 5.014) ?

Gilles

PS: I just checked (uninstalling 64bits versions and installing 32bits ones) : I get the same error using the 32bits versions of Perl (v5.16.3) and PerlApp (9.2.1 build 296433). So it seems not to be a problem related to the 64bits/32bits version of the language or the Tools but rather to the PerlApp version or the Perl version (this last hypothesis being less likely as the script still runs when evoked as a .pl file).


Viewing all articles
Browse latest Browse all 116

Trending Articles