Think about Loose Coupling | |
PerlMonks |
SOLVED: Perl6, latest Rakudo bug or error on my part?by Utilitarian (Vicar) |
on Aug 07, 2010 at 13:48 UTC ( [id://853573]=perlquestion: print w/replies, xml ) | Need Help?? |
Utilitarian has asked for the wisdom of the Perl Monks concerning the following question:
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."
Back to
Seekers of Perl Wisdom
|
|