🎄 5/25. What’s the date today in Perl 6?

Welcome to Day 5 of this lovely Perl 6 One-Liner Advent Calendar! Today, we’ll answer the question of what’s the date today (and tomorrow we can talk about palindromes if you want). So, to print the answer, you can use the following line of Perl 6 code: DateTime.now.yyyy-mm-dd.say It looks transparent and prints the date … Continue reading “🎄 5/25. What’s the date today in Perl 6?”