P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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? }else{ Gives the error:
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In reply to SOLVED: Perl6, latest Rakudo bug or error on my part? by Utilitarian
|
|