On Thu, Jul 12, 2012 at 08:31:38AM +0300, Gabor Szabo wrote:
> Hi,
>
> I looked at lib/Test.pm and noticed that most (if not all) of the
> functions have
> some time measuring code in them and they return a timestamp instead
> of the truth value.
>
> Would it be ok if I changed that so they will
Hi,
I looked at lib/Test.pm and noticed that most (if not all) of the
functions have
some time measuring code in them and they return a timestamp instead
of the truth value.
Would it be ok if I changed that so they will always return true/false?
Gabor
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #114090]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org:443/rt3/Ticket/Display.html?id=114090 >
< PerlJam> r: say "foo $( my $x = 3 + 4; "bar" ) baz";
<+p6eval> rakudo d8e7b6: OU
Hi Lard,
sorry for the late and incomplete answer.
Am 04.07.2012 15:09, schrieb Lard Farnwell:
Hi Moritz,
Thanks that was interesting. My investigation into grammars took a while but
here are the results thus far:
Grammar rules and regexes are just methods…
I hadn't thought about what a g
On Wed, Jul 11, 2012 at 11:02 AM, Moritz Lenz wrote:
> Am 11.07.2012 09:55, schrieb Gabor Szabo:
>
>> I wonder if the first one is a bug:
>>
>>
>> use v6;
>> my @x = (
>> { a => 1}
>> {b => 2 }
>> );
>> say @x.perl;
>>
>> prints Array.new({"b" => 2})
>
>
> This is actually cor
Am 11.07.2012 09:55, schrieb Gabor Szabo:
I wonder if the first one is a bug:
use v6;
my @x = (
{ a => 1}
{b => 2 }
);
say @x.perl;
prints Array.new({"b" => 2})
This is actually correct. It parses as
my @x = ( {a => 1}; {b => 2} );
Which is roughly the same as
my @x =
I wonder if the first one is a bug:
use v6;
my @x = (
{ a => 1}
{b => 2 }
);
say @x.perl;
prints Array.new({"b" => 2})
Almost the same code:
use v6;
my @x = (
{ a => 1} {b => 2 }
);
say @x.perl;
===SORRY!===
Malformed initializer
Gabor