On Thu Apr 16 09:50:05 2015, elizabeth wrote:
Slicing handles ranges differently from lists, even if the range is
not infinite.
my @a;
say @a[0,1].perl;# (Any,Any)
say @a[^2].perl; # ()
This becomes even more troublesome when used as a left value:
@a[0,1] = 42,43 #
On Tue Jun 19 11:51:14 2012, pmichaud wrote:
Refined from a case given by harmil++ on #perl6, the optimizer seems
to have problems with long expressions.
pmichaud@kiwi:~/p6/rakudo$ cat z
#!/bin/bash
for size in 1 10 100 500 1000 1;
do
code=$(./perl6 -e say (1..$size).join('+'))
On Fri Jul 24 13:01:20 2015, alex.jakime...@gmail.com wrote:
Code:
say Date.new(-01-01).truncated-to('week');
say Date.new(-01-01).pred();
say Date.new(-01-01) - 1;
Result:
-001-12-27
-001-12-31
-028-08-15
It seems like ISO 8601 allows negative dates, but it should be
On Sat Feb 14 02:56:01 2015, moritz wrote:
$ perl6-m -e 'say abc.ords xx 2'
$
should be
97 98 99 97 98 99
Tested in S03-operators/repeat.t
Fixed in glr branch.
--
Will Coke Coleda
On Thu Sep 18 09:01:12 2014, pawel.pab...@implix.com wrote:
From following code:
$ perl6 -e 'my $job1 = start { say job 1}; my $job2 = start { say
job 2}; await Promise.allof($job1, $job2)'
I get randomly one of following errors:
===SORRY!===
non-invokable object is non-invokable
On Wed, Aug 26, 2015 at 1:58 PM, Elizabeth Mattijsen l...@dijkmat.nl wrote:
It used to be, but that was not according to spec. FROGGS++ implemented
the lax mode, which is enabled by default in one-liners. Perhaps TimToady
wants to invoke rule #2 on this.
Personally, I use an alias that has
On Sat Oct 04 09:03:20 2014, barto...@gmx.de wrote:
This is still an issue. Fixing this will require a deep review of the
build system (cmp. the following short discussion on #perl:
http://irclog.perlgeek.de/perl6/2014-10-02#i_9447222).
Current status - This is busted in a MoarVM build, let
On Sat Jun 27 08:16:45 2015, equinox wrote:
Hi,
see
https://gist.github.com/jaffa4/11847e6d373f9ddfba34
Execute it
perl6-m.bat Long.pm6
You will get
here D:\m\p6\getopt_LONG\lib\Getopt\Long.pm6: 1021
here D:\m\p6\getopt_LONG\lib\Getopt\Long.pm6: 1026
here
On 26 Aug 2015, at 12:18, H.Merijn Brand h.m.br...@xs4all.nl wrote:
On Wed, 26 Aug 2015 10:26:23 +0200, Moritz Lenz mor...@faui2k3.org
wrote:
I could continue with other Perl 5 deficiencies (no strict by default,
Using strict *STILL* is not enabled by default for perl6
one-liners
On Thu Nov 15 08:24:25 2012, glitc...@myopera.com wrote:
glitchmr@feather ~ perl6 -e 'sub MAIN { %_.perl.say }' --
(- = Bool::True).hash
It should instead stop option processing. Because of that, it's currently
impossible to make first option that starts with - symbol.
Fixed in
On Wed, 26 Aug 2015 10:26:23 +0200, Moritz Lenz mor...@faui2k3.org
wrote:
I could continue with other Perl 5 deficiencies (no strict by default,
Using strict *STILL* is not enabled by default for perl6
one-liners either:
$ perl6 -e'my Int $this = 1; $thıs++; say $this;'
1
$ perl6 -Mstrict
On Wed, Aug 26, 2015 at 3:26 AM, Moritz Lenz mor...@faui2k3.org wrote:
Hi,
On 11.08.2015 14:12, Tom Browder wrote:
I have seen several lists of new Perl 6 features (versus Perl 5) but
they all seem to be lists that intermix features with varying degrees of
value to ordinary Perl 5 users.
Hi,
On 11.08.2015 14:12, Tom Browder wrote:
I have seen several lists of new Perl 6 features (versus Perl 5) but
they all seem to be lists that intermix features with varying degrees of
value to ordinary Perl 5 users. If one wants to sell long-time Perl 5
users (already using the latest Perl
Synopsis 26 http://design.perl6.org/S26.html#Declarator_blocks says of
declarator blocks:
A declarator can have multiple leading and/or trailing Pod comments, in
which case they are concatenated with an intermediate newline when their
object's .WHY return value is stringified
But the current
On Wed, Aug 26, 2015 at 12:18:46PM +0200, H.Merijn Brand wrote:
$ perl6 -e'my Int $this = 1; $thıs++; say $this;'
1
$ perl6 -Mstrict -e'my Int $this = 1; $thıs++; say $this;'
===SORRY!=== Error while compiling -e
Variable '$thıs' is not declared. Did you mean '$this'?
at -e:1
-- my Int
15 matches
Mail list logo