|The stupid question is the question not asked|
Like many monks here, I suspect, I've become used to Perl-5 and have to an extent disbelieved in the advent of Perl-6. However, due to the poll and constant references to Rakudo in some monks posts, I am spending this weekend playing with it rather than pottering in the garden.
I got the latest from github built and installed and I'm working my way through "Using Perl 6" at the moment.
So may I extend a hearty thanks and congratulations to all involved, and request they undo the terrible damage they have caused in my household by popping over and doing the lawns ;)
Now, on to the question, The following code gives me the error stated, is there something obvious I'm not getting WRT blocks in Perl 6?
Gives the error:
print "Good ",qw(night morning afternoon evening)[(localtime)/6]," fellow monks."
In reply to SOLVED: Perl6, latest Rakudo bug or error on my part? by Utilitarian