> I'm all in favor of converting things that are complex in PIR to things
> that are simple in Perl 6 ... but why convert things that boil down to a
> single instruction in PIR into complex things in Perl 6? Especially
> since the complex Perl 6 code is highly likely to run a couple orders of
> ma
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #63878]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63878 >
rakudo: enum A <>; my A $a; say $a ne ""
rakudo 5b1ff9: OUTPUT«Null PMC access in get_
On Sat, 2009-03-14 at 14:07 -0700, fREW Schmidt wrote:
> # New Ticket Created by fREW Schmidt
> # Please include the string: [perl #63874]
> # in the subject line of all future correspondence about this issue.
> # http://rt.perl.org/rt3/Ticket/Display.html?id=63874 >
>
>
> , perl6
I'm al
# New Ticket Created by fREW Schmidt
# Please include the string: [perl #63874]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63874 >
, perl6
--
fREW Schmidt
http://blog.afoolishmanifesto.com
diff --git a/src/builtins
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #63876]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63876 >
rakudo: sub f ($f, *...@slurp) { @slurp[0].say; @_[0].say };
f("OH","HAI");
rakudo 5b
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #63880]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63880 >
masak: bug-bug! :)
rakudo: say 1 < *
rakudo 5b1ff9: OUTPUT«Use of uninitialized value
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #63884]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63884 >
masak: Rather too many tickets than too few.
that's, like, my motto.
rakudo: package
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #63882]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63882 >
rakudo: enum A ; say a; eval 'sub a { "O HI" }'; say a
rakudo 5b1ff9: OUTPUT«0a»
wh
# New Ticket Created by mbere...@autoexec.demon.nl
# Please include the string: [perl #63872]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63872 >
Just a one liner to copy the full pathname of the running Perl script, or
On Sat, Mar 14, 2009 at 7:29 AM, Larry Wall wrote:
> : So if I were to say:
> :
> : rand $n:
> :
> : is the compiler smart enough to notice that trailing colon and
> : recognize this as an indirect method call rather than two adjacent
> : terms?
>
> No, currently under STD you get:
>
> Obso
On Sat Mar 14 11:07:14 2009, mbere...@autoexec.demon.nl wrote:
> Just a one liner to copy the full pathname of the running Perl script, or
> otherwise '-e' into $*PROGRAM_NAME. (The * twigil does not appear in the
> patch).
>
Thanks, applied as git 6d97951. Not sure what it should do in -e, but
wi
Author: lwall
Date: 2009-03-14 18:32:42 +0100 (Sat, 14 Mar 2009)
New Revision: 25830
Modified:
docs/Perl6/Spec/S32-setting-library/IO.pod
Log:
[IO] Massive overhaul, long overdue due to neglect of TimToady--
Modified: docs/Perl6/Spec/S32-setting-library/IO.pod
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #63864]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63864 >
it seems that void-context prompt doesn't read a line, though.
is that a bug or a feat
On Thu, Mar 12, 2009 at 06:29:19PM -0700, Jon Lang wrote:
: > +To declare an item that is parsed as a simple term, you must use the
: > +form C<< term: >>, or some other form of constant declaration such
: > +as an enum declaration. Such a term never looks for its arguments,
: > +is never consider
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #63866]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63866 >
rakudo: module A::B { role B { }; class D does A::B::B { } }
rakudo 41267f: RESULT«{ .
Author: masak
Date: 2009-03-14 13:34:54 +0100 (Sat, 14 Mar 2009)
New Revision: 25823
Modified:
docs/Perl6/Spec/S32-setting-library/IO.pod
Log:
replaced 'record' with 'line' in IO.pod
'record' is fine and understandable in the Unix world, and used by
tools such as awk -- but line is immediately
Author: masak
Date: 2009-03-14 13:34:50 +0100 (Sat, 14 Mar 2009)
New Revision: 25822
Modified:
docs/Perl6/Spec/S32-setting-library/IO.pod
Log:
replaced underscores with dashes in variable names in IO.pod
Modified: docs/Perl6/Spec/S32-setting-library/IO.pod
=
Author: masak
Date: 2009-03-14 13:34:42 +0100 (Sat, 14 Mar 2009)
New Revision: 25821
Modified:
docs/Perl6/Spec/S12-objects.pod
Log:
specced syntactic 'where' sugar in param lists
Modified: docs/Perl6/Spec/S12-objects.pod
===
--- d
18 matches
Mail list logo