I'm curious about what type of $in is on Proc class. As described in perl6doc:
$in, $out and $err are the three standard streams of the
to-be-launched program, and default to "-" meaning they inherit the
stream from the parent process. Setting one (or more) of them to True
makes the stream availabl
On Sat, May 26, 2012 at 6:34 PM, Nicholas Clark wrote:
> On Fri, May 25, 2012 at 08:44:30AM -0500, B. Estrade wrote:
>
>
> Realistically, that's not going to happen. The internals of the Perl 5
> interpreter are not flexible enough to implement a lot of the features
> that
> Perl 6 has that Perl
Almost one year ago, I posted similar opinion on perlmonks. But now, I
realize I made a mistake most of people made, to avoid knowing, learning new
things. ;)
as a sysadmin since 2000, I definitely need to handle many small tasks also,
a script for fetching files, a script for showing figure, a sc
Congratulations!
On Thu, Jul 29, 2010 at 8:23 PM, Patrick R. Michaud wrote:
> On behalf of the Rakudo and Perl 6 development teams, I'm happy to
> announce the July 2010 release of "Rakudo Star", a useful and usable
> distribution of Perl 6. The tarball for the July 2010 release is
> available f
Is Int a proper type? I hope I can use basic operation within Date and hours
in perl6 like:
Date -1/24 + 1/24/60 + Date
On Fri, Apr 9, 2010 at 10:00 PM, Moritz Lenz wrote:
> Am 09.04.2010 15:33, schrieb Dave Rolsky:
>
> On Thu, 8 Apr 2010, Carl Mäsak wrote:
>>
>> I do want to exp
On Fri, Jul 10, 2009 at 12:29 AM, yary wrote:
>
>
> On Wed, Jul 8, 2009 at 8:45 PM, Xiao Yafeng wrote:
>
>> Any thoughts?
>>
>
> First let's fix the whitespace in your post so it's easier to read-
>
> My question is: could I write below code in
My question is: could I write below code in perl6:
my @a = <1 2 3 4>; my @b[2]; for @a ->
@b {;} # 2 loops like for @a -> $b[0],$b[1]{;}
my @a = <1 2 3 4>; my @b; for @a -> @b
{;} # 1 loop
/4/09, Timothy S. Nelson wrote:
> On Sat, 4 Apr 2009, Xiao Yafeng wrote:
>
>>>> 3. Could I define primary key for a bag variable?
>>>
>>> All items in a Bag are "primary keys", but there's no data additional
>>> data associated with it
On Fri, Apr 3, 2009 at 10:52 PM, Moritz Lenz wrote:
> Xiao Yafeng wrote:
> > 1. Could I set multi-return type?like
> > sub test as (Int, Str) {...}
>
> "as" is coercion - so to what would it coerce? Int or Str? How could the
> compiler k
1. Could I set multi-return type?like
sub test as (Int, Str) {...}
my (Int, Str) sub test {...}
or my (Int|Num, Str) sub test{...}
2. set is unordered collection of values, subset is new type. People are
apt to confuse th
I've moved windows 2003 platform to XP. so far, configure Parrot 1.0 is OK.
I'll reinstall windows 2003 and reconfigure parrot.
On Thu, Mar 26, 2009 at 11:07 AM, James Keenan via RT <
parrotbug-follo...@parrotcode.org> wrote:
> Could you try reconfiguring with Parrot 1.0?
>
> Thank you very much.
.\parrot.exe -o PGE.pbc --output-pbc PGE.pir
..\..\parrot.exe ..\..\runtime\parrot\library\PGE\Perl6Grammar.pir
--output=PGE
\builtins_gen.pir PGE\builtins.pg
mingw32-make[1]: *** [PGE.pbc] Error -1073741819
mingw32-make[1]: Leaving directory `C:/parrot/compilers/pge'
mingw32-make: *** [compilers.dummy]
On Sat, Dec 20, 2008 at 6:56 AM, Ronald Blaschke via RT <
parrotbug-follo...@parrotcode.org> wrote:
> >..\..\parrot.exe
> > ..\..\runtime\parrot\library\PGE\Perl6Grammar.pir
> > --ouput=PGE\builtins_gen.pir PGE\builtins.pg
> > MAKE : fatal error U1077: '..\..\parrot.exe' : return code
> >
# New Ticket Created by "Xiao Yafeng"
# Please include the string: [perl #61522]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=61522 >
Here is the end of output from nmake:
.\parrot.exe -o runtime\p
>
> I've been thinking about that. One interesting ramification of
> the current matching rule is that you could say either of:
>
>"foo".io ~~ :r :x
>
> or
>
>"foo" ~~ :io(:r :x)
>
> where .io is whatever your "casting" method of choice is for turning
> a string into an object with the cor
Off the top of one's head, since there is no particular difference between
an operator and a function, can I see a function as a operator:
(1, 2, 3, 4) >>elems<<(2, 3, 4, 5) #(2, 2, 2, 2)
(1, 2, 3, 4) >>shift<<(2, 3, 4, 5) #(2, 3, 4, 5)
Moreover, can I see a subroutine as a oper
On Sat, Aug 30, 2008 at 4:22 AM, Dave Whipp <[EMAIL PROTECTED]> wrote:
> Lets say I want to find the 5th smallest element in an array. I might
> write:
>
> @array.sort.[4];
>
> How does the implementation of the sort function know that I just want to
> 5th item (and thus choose an appropriate opt
There are no barewords in Perl 6, but it seems new method is an exception:
class Dog {
has $name;
method bark () {
say $name;
}
}
my $p = Dog.new($name => 'boo');
$p.bark;#error!
my $p = Dog.new( name => 'boo');
On Thu, Aug 21, 2008 at 4:07 PM, Reini Urban <[EMAIL PROTECTED]> wrote:
> the CPAN mirror network and the popularity is what parrot should look
> forward to, IMHO
>
> --
I've read Synopsis and I wondered why to treat max and min as
operator. IMHO, view them as list functions is more reasonable. Like
below:
@test.max
is clearer than
@test[0] max @test[1] or [max] @test.
Any reply would be really appreciated and will much help me learn
perl6. Thanks in advance!
I'm glad also! But If I had read this mail before reinstalled SVN
client, I would be glader. ;)
On Sun, Mar 30, 2008 at 10:12 PM, Andrew Whitworth
<[EMAIL PROTECTED]> wrote:
> Oh, i'm glad this is a bug in the repository, when it happened to me,
> I assumed that my SVN client was broken. Now I d
Cool!
But if it could include doc would be better.
On Dec 5, 2007 11:38 PM, François Perrad <[EMAIL PROTECTED]> wrote:
>
> I have no personal web site, so I create the project parrotwin32 on
> sourceforge : http://parrotwin32.sourceforge.net/
>
> This project supplies only binaries for Windows (s
22 matches
Mail list logo