;> LOADING EVAL_2
> > + Uncaught Exception
> > | Cannot invoke this object (REPR: Null, cs = 0)
> > + /home/kamil/dev/lacuna-cookbuk/bin/lacunacookbuk_client (23 - 27)
> > | BodyBuilder.process_all_bodies;
> > | } else {
> > | BodyBuilder.read;
> > | }
> > | for @todo -> $willdo {
> > > q
> > - Run END blocks (y/N)?
> >
> > $ perl6 --version
> > This is perl6 version 2014.06-118-gb25b868 built on MoarVM version
> > 2014.06-63-g0fb638b
>
>
--
Pozdrawiam
Kamil Kułaga
Will it work fine for utf-16 users?
On Wed, Jul 11, 2018 at 11:16 AM Steve Mynott via RT
wrote:
>
> Maybe the Windows port of rakudo should set this automatically on startup?
> On Wed, 11 Jul 2018 at 10:08, Kamil Kułaga via RT
> wrote:
> >
> > I found resolution. It
S. perl6 --version
This is perl6 version 2014.01 built on parrot 5.9.0 revision 0
--
Regards
Kamil Kułaga
Hi,
Array stringification to "1 2" mislead me that something more
complicated comes around.
Thanks for fast reply
On Mon, Feb 10, 2014 at 2:29 PM, Tobias Leich wrote:
> Hi
> Am 10.02.2014 14:19, schrieb Kamil Kułaga:
>> Hi,
>>
>> I've played wit
2|12|12|12|12|12|12|12|12»
>
> Am 10.02.2014 14:42, schrieb Kamil Kułaga:
>> Hi,
>>
>> Array stringification to "1 2" mislead me that something more
>> complicated comes around.
>>
>> Thanks for fast reply
>>
>> On Mon, Feb 10, 2014 at 2:
rl6 --version
This is perl6 version 2014.01 built on parrot 5.9.0 revision 0
--
Regards
Kamil Kułaga
kamil@perl6:~/dev/sandbox$ perl6 notfail.pl
kamil@perl6:~/dev/sandbox$
--
Pozdrawiam
Kamil Kułaga
ting:8473
> in method BUILDALL at src/gen/m-CORE.setting:939
> in method bless at src/gen/m-CORE.setting:858
> in method new at src/gen/m-CORE.setting:843
> in any return_error at src/vm/moar/Perl6/Ops.nqp:598
> in sub x at /home/kamil/dev/sandbox/HashKing.pl:8
> in block at /home/kamil/dev/sandbox/HashKing.pl:15
>
> $ perl6-p ~/dev/sandbox/HashKing.pl
> (Hash)
> Type check failed for return value; expected 'Array[Hash]' but got
> 'Array[Hash]'
> in sub y at /home/kamil/dev/sandbox/HashKing.pl:27
> in block at /home/kamil/dev/sandbox/HashKing.pl:30
>
>
> --
> Pozdrawiam
>
> Kamil Kułaga
>
--
Pozdrawiam
Kamil Kułaga
# New Ticket Created by "Kamil Kułaga"
# Please include the string: [perl #121804]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=121804 >
Hi,
I found some hash issues on moar and parrot
perl6-p --version
# New Ticket Created by "Kamil Kułaga"
# Please include the string: [perl #121811]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=121811 >
$*EXECUTABLE contains right path on moar but on parrot it is pwd+bas
cuts out deprecated method and there is
no reason to implement them any longer.
--
Pozdrawiam
Kamil Kułaga
enz wrote:
> Hi Kamil,
>
>
> On 05/15/2014 07:48 PM, Kamil Kułaga wrote:
>>
>> Is there any ordinary way (not something like getting list of methods
>> from base class) to ensure we are overriding method?
>>
>> Java has @Override annotation that that causes
emulate .^can.
>
> I'll see if anybody in #perl6 (IRC) has a good idea...
>
> Cheers,
> Moritz
>
> On 19.05.2014 14:52, Kamil Kułaga wrote:
>> Hi Moritz,
>>
>> I've tried to adapt Your gist to something else but I've realized that
>> it does
eaks only about type objects: (It is allowed to pass type objects
that don't correspond to any parent class.)
--
Pozdrawiam
Kamil Kułaga
some other cases may be a great idea.
On Tue, May 27, 2014 at 9:04 PM, Tadeusz Sośnierz
wrote:
> On 05/25/2014 09:50 AM, Kamil Kułaga wrote:
>>
>> Hi,
>>
>> My question is about passing parameters to .new method that do not
>> correspond to any field in class. This e
27;, b=>'33'),
A.new(a=>'w', b=>'44'),
A.new(a=>'v', b=>'55')
);
my %hash;
for @array -> $elem {
%hash{$elem.a}{$elem.b} =$elem;
}
say %hash.perl;
Can it?
--
Pozdrawiam
Kamil Kułaga
t;'33'),
> A.new(a=>'w', b=>'44'),
> A.new(a=>'v', b=>'55');
>
> say @array.map({ .a => .b => $_ })
>
> OUTPUT«"a" => "11" => A.new(a => "a", b => &
33'),
A.new(a=>'w', b=>'44'),
A.new(a=>'v', b=>'55');
my %h = @array.map({
my $var = .a;
$var => %(@array.grep({.a eq $var}).map({.b => $_}))
});
say %h.perl;
my %hash;
for @array -> $elem {
%hash{$ele
'w', b=>'44'),
A.new(a=>'v', b=>'55');
my %h = categorize({map {[.a , .b]}, $_},@array);
say %h<22>.perl;
my %hash;
for @array -> $elem {
%hash{$elem.a}{$elem.b} =$elem;
}
say "Reference\n" ~ %hash<22>.perl;
On Fr
Dear Timo.
So .categorize and .classify wil always end with list on leaves of
produced tree? Ok I can live with that :)
On Sat, Jun 14, 2014 at 12:30 PM, wrote:
> Dear Kamil,
>
>
> On 06/13/2014 10:24 PM, Kamil Kułaga wrote:
>> my %h = categorize({map {[.a , .b]}, $_},@array
27;m alive
Is this expected or subject to change?
--
Pozdrawiam
Kamil Kułaga
Of course ment
perl6 --target=pir --output=o.pir funnyrole.pl
but with same effect
On Sun, Jun 15, 2014 at 2:31 AM, Kamil Kułaga wrote:
> Hi,
>
> I got amazed little bit when this code:
> class A {
> method wow{say "I'm alive"}
> }
>
&
, but in your example, 'class B
> does Xx' runs at compile time, so the two are roughly equivalent).
>
> Cheers,
> Moritz
>
> On 06/15/2014 02:31 AM, Kamil Kułaga wrote:
>> Hi,
>>
>> I got amazed little bit when this code:
>> class A {
>>
I found it myself this won't work because when using multiple files
and pir compilation INIT / END block parent class will be executed
anyway.
Is there way to postone to runtime class attribute without doing it manually?
On Sun, Jun 15, 2014 at 10:34 PM, Kamil Kułaga wrote:
> Ok,
>
z(Any $a) {say "Class Y"}
}
say Y.new.xyz(1);
$ perl6 tst.pl
Class Y
True
It is hard to google such common words like is and does :)
--
Pozdrawiam
Kamil Kułaga
un 27, 2014 at 3:25 PM, Timo Paulssen wrote:
> On 27/06/14 10:07, Kamil Kułaga wrote:
>>
>> Hi,
>>
>> I would like to ask for help in understanding difference between this
>> code:
>>
>> use v6;
>>
>> role X {
>> multi me
# New Ticket Created by "Kamil Kułaga"
# Please include the string: [perl #16]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=16 >
Discussion: http://irclog.perlgeek.de/moarvm/2014-07-04
It worked o
# New Ticket Created by "Kamil Kułaga"
# Please include the string: [perl #122289]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=122289 >
Evaling objects won't work if code that eval was preompiled
inde
question is: Shall https://github.com/perl6 community adopt it or
maybe someone should fork it and change link in
https://github.com/perl6/ecosystem/blob/master/META.list?
--
Pozdrawiam
Kamil Kułaga
a "getting started" guide?
>
> I want to check if some of my scripts work with Perl 6.
>
> Best regards,
> Alex
--
Pozdrawiam
Kamil Kułaga
it.
>
> Thanks.
>
> Best,
>
> ~Tom
--
Pozdrawiam
Kamil Kułaga
Hi,
Is it possible to listen UDP port with perl6?
IO::Socket::INET seems to be TCP only
--
Pozdrawiam
Kamil Kułaga
I will observe this branch then. I wanted to write an app listening to
snmp and I'don't know what will be required yet. Thanks for info :-)
On Thu, Jun 18, 2015 at 2:39 PM, Timo Paulssen wrote:
>
> On 06/18/2015 09:47 AM, Kamil Kułaga wrote:
>> Hi,
>>
>> Is i
a better introduction in my modest
> draft tutorial on converting Perl 5 to Perl 6 code at the Perl Monastery. I
> am comfortable with the example code I use there (which is not currently
> intended to showcase new features), but I am getting several comments on why
> one should even bother with Perl 6?
--
Pozdrawiam
Kamil Kułaga
# New Ticket Created by "Kamil Kułaga"
# Please include the string: [perl #126485]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=126485 >
I've tried to substitute numeric with Rat (and the switch to FatRa
Hi,
I know design allows to alter pod building during DOC INIT and DOC BEGIN phases
I'm curious is it possible display undocumented things as it had doc?
I would find it useful to display all public stuff from class as part
of doc.
--
Regards
Kamil Kułaga
# New Ticket Created by "Kamil Kułaga"
# Please include the string: [perl #126634]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=126634 >
I got very often this bug when instead of real type I have two dimensio
# New Ticket Created by "Kamil Kułaga"
# Please include the string: [perl #126654]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=126654 >
Examples in spec http://design.perl6.org/S26.html#Declarator_blocks
conta
lah2
> =end DATA
>
> Then:
>
> for $=DATA.lines -> $line {
> # process a line
> }
>
> but I get this message:
>
> Pod variable @=DATA not yet implemented. Sorry.
>
> Is there any workaround for this other than putting the data in an array?
>
> Thanks.
>
> Best regards,
>
> -Tom
--
Pozdrawiam
Kamil Kułaga
# New Ticket Created by "Kamil Kułaga"
# Please include the string: [perl #128154]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=128154 >
$ perl6 -v
This is Rakudo version 2016.04 built on MoarVM version 2016.04
in most cases explain best whether you want class or role. I
generally use classes for data and roles for code because I like to
separate data form implementation. I hurt a lot of times while was
trying to do java programming with perl6 then I realized roles are not
interfaces and code is not compiled in static language sense.
--
Regards
Kamil Kułaga
;> LOADING EVAL_2
> > + Uncaught Exception
> > | Cannot invoke this object (REPR: Null, cs = 0)
> > + /home/kamil/dev/lacuna-cookbuk/bin/lacunacookbuk_client (23 - 27)
> > | BodyBuilder.process_all_bodies;
> > | } else {
> > | BodyBuilder.read;
> > | }
> > | for @todo -> $willdo {
> > > q
> > - Run END blocks (y/N)?
> >
> > $ perl6 --version
> > This is perl6 version 2014.06-118-gb25b868 built on MoarVM version
> > 2014.06-63-g0fb638b
>
>
--
Pozdrawiam
Kamil Kułaga
I found resolution. It looks like it is problem windows locale issue than perl
itself.
Running command
chcp utf8
Makes work just fine. Default is 852. I'm very supprised because I use unicode
encoding all the the time and never had such issue. For me it would be better
to detect if codepa
Will it work fine for utf-16 users?
On Wed, Jul 11, 2018 at 11:16 AM Steve Mynott via RT
wrote:
>
> Maybe the Windows port of rakudo should set this automatically on startup?
> On Wed, 11 Jul 2018 at 10:08, Kamil Kułaga via RT
> wrote:
> >
> > I found resolution. It
44 matches
Mail list logo