On 2009 Jan 4, at 8:53, Carl Mäsak wrote:
Now, I can precompile the B module to PIR without a problem, but when
I compile the A module, Rakudo/Parrot aborts because it runs the code
in B and dies.
$ parrot languages/perl6/perl6.pbc --target=pir --output=B.pir B.pm
$ parrot languages/perl6/perl6
Em Dom, 2009-01-04 às 14:53 +0100, Carl Mäsak escreveu:
> $ parrot languages/perl6/perl6.pbc --target=pir --output=B.pir B.pm
> $ parrot languages/perl6/perl6.pbc --target=pir --output=A.pir A.pm
> Remember, remember, the fifth of November
> current instr.: 'die' pc 14950 (src/builtins/control.pir:
Apologies if the point I'm about to make repeats what either Jeff or
Daniel already said. I have two modules, A and B:
$ cat A.pm
use v6;
use B;
$ cat B.pm
use v6;
die "Remember, remember, the fifth of November";
Now, I can precompile the B module to PIR without a problem, but when
I compile the
Em Dom, 2008-12-28 às 00:31 -0500, Jeff Horwitz escreveu:
> the modules it uses assume they're embedded in an apache process,
> dlfunc'ing a bunch of apache API functions.
I think that means the 'dlfunc' calls need to be in INIT and not in
BEGIN.
> right now it is impossible to compile such a mod