I'm trying to install Rakudo Star on OS X 10.6, and I've reached the always frustrating point where my build has failed and I'm not sure how to procede. Does anyone here know a way past this? (I'm trying to set this up to write some local perl6 programs, so I'm not sure if The Rules want this on Server Fault or on Stack Overflow, slap me...
I've been trying to run some sockets code in Rakudo Perl (freshly built from the repository at http://github.com/rakudo/rakudo) but the implementation of IO::Socket::INET appears to be incomplete.
The code I'm trying to run is here: http://github.com/carlins/irc-client/blob/master/lib/IRC/Client.pm
This is the error:
Method 'inpu...
I would like to try out Perl 6, but I am not sure that downloading and configuring it is worth the effort. What can I do?
...
Does python have any way to easily and quickly make CLI utilities without lots of argument parsing boilerplate?
In perl6, the signature for the MAIN sub automagically parses command line arguments.
Is there any way to do something similar in python without lots of boilerplate? If there is not, what would be the best way to do it? I'm t...
In the summary of differences between Perl 5 and Perl 6, it is noted that the wantarray function is gone:
wantarray() is gone
wantarray is gone. In Perl 6, context
flows outwards, which means that a
routine does not know which context it
is in.
Instead you should return objects that
do the right thing in every conte...
I've been looking at the various ways of constructing lazy lists in Perl 6 and I would like to collect all of the concise ways of describing the Fibonacci sequence.
I will start this off with the three from masak's journal:
my @fibs := (0, 1, -> $a, $b { $a + $b } ... *);
my @fibs := (0, 1, { $^a + $^b } ... *);
my @fibs := (0, 1, ...