Audrey Tang wrote:
>
> 在 Sep 11, 2006 2:07 PM 時,Trey Harris 寫到:
>
>> In a message dated Mon, 11 Sep 2006, Richard Hainsworth writes:
>>> I am trying to find out how to use (in perl6) perl5 modules that
>>> contain subroutines.
>>
>> Imports from Perl 5 modules don't currently work.
>
> Actually,
在 Sep 11, 2006 2:07 PM 時,Trey Harris 寫到:
In a message dated Mon, 11 Sep 2006, Richard Hainsworth writes:
I am trying to find out how to use (in perl6) perl5 modules that
contain subroutines.
Imports from Perl 5 modules don't currently work.
Actually, explicit imports do work (as of a coup
Where is .can documented?
I saw .can in one of the examples in the pugs distribution, but I didnt
know where it came from, viz., was it related to perl6 or the module
that had been imported.
Not quite sure how the following two statements can be consistent:
'imports from Perl5 modules dont w
In a message dated Mon, 11 Sep 2006, Richard Hainsworth writes:
I am trying to find out how to use (in perl6) perl5 modules that contain
subroutines.
Imports from Perl 5 modules don't currently work.
You can workaround this using .can, see below.
use perl5:Time::gmtime;
my $gm = gmtime();
p
I am trying to find out how to use (in perl6) perl5 modules that contain
subroutines.
Here are two scripts from standard modules. Both work in perl5, but I
cant find a way to use them using pugs (I am using the Debian package
with version 6.2.10-4build1 on GNU/Linux/Ubuntu)
use strict;
use