On Mon Apr 13 17:10:03 2009, nelo.ony...@googlemail.com wrote:
> Hi all,
>
> I hope this PATCH is correct. A couple of issues came up whilst I was
> working on this:
>
> > Shouldn't we be able to return from within the try block?
>According to http://www.rakudo.org/status these already work
On Fri Sep 24 15:02:44 2010, mfollett wrote:
> When I attempt to run a script that dies it gives me the line it
>happens on but not the name of the file it is happening in. See
>below for details. I haven't yet found where this error is
>happening so I can't give a simpler case than t
On Sat Jul 31 14:20:52 2010, wenzel.peppme...@gmx.de wrote:
> use v6;
>
> class A {
>method b(){ say 'butterfly'; };
> };
>
> my $a = A.new();
> my $method_ref = $a.^can('b');
> $method_ref($a);
>
> sub foo($o, $m){
>$m($o);
> };
>
> foo($a, $method_ref);
>
> --
>
> butterfly
> Null P
On Sat Jul 31 16:36:28 2010, tadzi...@gmail.com wrote:
> The following code:
>
> grammar grr {
> token TOP {
> *
> }
> token line { .* \n }
> }
>
> my $match = grr.parse('foo bar asd');
> unless $match {
> die 'oh noes!'
> }
> say $match
On Tue Aug 10 08:01:59 2010, Solomon wrote:
> colomon: star: subset ComplexNumeric of Numeric where { ($_ ~~ Real)
> || ($_ ~~ Complex) }; my ComplexNumeric $x = 1; say $x.perl; $x = 1i;
> say $x.perl
>
> star 2010.07: OUTPUT«Null PMC access in invoke() in 'ACCEPTS' at
> line 1 in '&infix:<=>'
On Sun Oct 25 08:08:11 2009, moritz wrote:
> 16:06 <@moritz_> rakudo: say 'aa' ~~ /(.)$1/; say $0.to
> 16:06 <+p6eval> rakudo 49e62f: OUTPUT�Null PMC access in
get_string()?in
> Main
> (file src/gen_setting.pm, line 295)?�
>
> $1 doesn't exist, but this is clearly a less-than-awes
On Wed Jun 09 10:50:59 2010, moritz wrote:
> proto sub a($x) is export { say "in proto"; nextsame }
> sub a(Str $x) { say "Str $x" };
> sub a(Int $x) { say "Int $x" };
>
> a([]);
>
> causes
>
> in proto
> Null PMC access in clone()
> in 'a' at line 1
> in main program body at line 5:Foo.pm
>
On Wed May 05 02:12:50 2010, jimmy wrote:
> > rakudo: my $x =3; say $x
> > rakudo 1eef08: OUTPUT«5»
>
> > rakudo: my $a = 2; $a.say;
>
> > rakudo 1eef08: OUTPUT«Cannot assign to readonly valuecurrent
> instr.: '&die' pc 17868 (src/builtins/Junction.pir:393)»
>
> moritz_> it should d
On Fri Jul 30 06:34:10 2010, cognominal wrote:
> $ perl 6
> > our Str a
> In "our" declaration, typename Str must be predeclared (or marked as
> declarative with :: prefix) at line 1, near " a\n"
>
Here's what STD has to say:
14:25 <+p6eval> std 8b331d2: OUTPUT«===SORRY!===Multiple prefix const
# New Ticket Created by Ira Byerly
# Please include the string: [perl #100552]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org:443/rt3/Ticket/Display.html?id=100552 >
Hi,
I was trying to figure out why the first example in Chapter 3 of Using Perl
6
10 matches
Mail list logo