On Fri, Jun 17, 2011 at 12:02:16PM +0200, Moritz Lenz wrote:
> >Also, if you look at the (pir) code for any compiled script,
> >it becomes clear that it uses some library called "perl6_ops".
> >Does this mean that the file can not be run on a machine
> >where you have installed parrot but have not
Am 17.06.2011 11:40, schrieb Георгий Устинов:
If you compile Hello.pm to Hello.pir and remove Hello.pm,
PIR module does not load. Why?
Because .pm files are the authoritative source of information (for
example regarding version information, but also regarding actual program
code), and .pir fi
For example, there is a basic script
and a module used by this script.
main.pl
--
#!/usr/bin/perl6
use v6;
need Hello;
my $h = Hello.new();
$h.hello('world');
$h.hello('sun');
Hello.pm
---
#!/usr/bin/perl6
use v6;
class Hello;
method hello ($a) {
say