ass the test suite and conforms to the specification
IS a Perl 6. Right now the program that passes the most tests and
conforms most closely to the specification is Rakudo.
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
Perl 5, but
benefits from Perl 6.
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
rint to a file handle:
> $filehandle.print("Hello world\n");
> $filehandle.say("Hello world");
snip
[Indirect object][1] notation is still in Perl 6; it just got an
unambiguous syntax:
print $filehandle: "Hello world";
[1]: http://perlcabal.org/syn/S12.html#line_274
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
e routines
that can have multiple variants that share the same name, selected by
arity, types, or some other constraints.][3]
[1] : http://perlcabal.org/syn/S03.html#Operator_precedence
[2] : http://perlcabal.org/syn/S32/IO.html#multi_print_(*...@list_-->_Bool)
[3] : http://perlcabal.org/sy
x27;s really the TTIAR thing that makes reading Perl6 so incredibly
>> predictable, I think.
>
>
> What is TTIAR?
snip
It is an error to have Two Terms In A Row.
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
hello $_[0]\n"; };
$lambda->("world");
Perl 6 just has lots of short cuts that make them nicer. Like the ^ twigil:
my $lambda = { say "hello $^name" };
$lambda("world");
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
On Mon, Dec 27, 2010 at 16:00, Chas. Owens wrote:
> On Mon, Dec 27, 2010 at 15:55, Daniel Carrera wrote:
>> On Mon, Dec 27, 2010 at 9:49 PM, Chas. Owens wrote:
>>>
>>> The [conditional operator][1] is now spelled test ?? true !! false not
>>> test ? tr
On Mon, Dec 27, 2010 at 15:55, Daniel Carrera wrote:
> On Mon, Dec 27, 2010 at 9:49 PM, Chas. Owens wrote:
>>
>> The [conditional operator][1] is now spelled test ?? true !! false not
>> test ? true : false.
>
> Thanks!
> Now the following code works:
> %
convenienced.
>
The [conditional operator][1] is now spelled test ?? true !! false not
test ? true : false.
[1] : http://perlcabal.org/syn/S03.html#Conditional_operator_precedence
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
ed messages about whitelisting to
> anyone who posts to it.
>
> It's up to the list admins, but I for one wouldn't be too disappointed
> if this member was booted from the list. If memory serves me, this is
> the third time this happens for this particular member on p
ng ?
>
> regards
> marc
>
It looks like array dereferencers don't interpolate currently in
double quotish strings, so you were trying to look up '@a[0]' in the
hash. This is likely a bug a Rakudo. I think S02 says that "@a[0]"
should be interpolated and that &q
e.g., of the form ".‽method") for calling
> a method on an object if the object is defined and returning undef if it is
> not defined? I was hoping that ".?method" could do this, but it doesn't
> seem to (in Rakudo, at least).
Not a clue.
>
> Thank you in advance,
> Minimiscience
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
On Sat, Jun 20, 2009 at 02:49, Aruna Goke wrote:
> Chas. Owens wrote:
>>
>> On Sat, Jun 20, 2009 at 00:58, Aruna Goke wrote:
>>>
>>> is negative index not allowed in perl6?
>>>
>>> i tried
>>>
>>> my @test = (1 .. 20);
>>&
ve_and_differential_subscripts
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
rved for [0-9] and \p{IsDigit} (or the equivalent Perl 6
construct) be used for matching Unicode digits?
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
On Jan 7, 2008 1:34 PM, Richard Hainsworth <[EMAIL PROTECTED]> wrote:
snip
> Definitely a good idea for the implementation / implementors to decide
> how to get a resource magically.
>
> But ...
> I have run into situations where I wanted to have more control over
> where specific resources were lo
On 9/7/07, Wim Vanderbauwhede <[EMAIL PROTECTED]> wrote:
> The following program works fine in pugs r17041 (which is the rev of
> /usr/bin/pugs on feather):
>
> my $r=\{say $x+1};
> my $x=2;
> $r();
>
> With r17041, this gives 3;
> However, on the latest pugs (r17615 or later), it gives an error:
>
17 matches
Mail list logo