Perl Weekly Challenge: Code of Many Colors

Perl Weekly Challenge 388‘s tasks are “Dyck Words” and “Secret Santa”.

Well, normally my brain would work like this: I think “Dyck” sounds like “Dyke”, which reminds me of Dick Van Dyke, and that makes me think…

Then yesterday we all got the news: Dolly Parton died. So let’s enjoy some Santa-adjacent Dolly Parton music: Hard Candy Christmas.

But as I was finishing up, I heard Dolly’s voice in my head:

🎶 Now I know we had no money, but I was rich as I could be 🎶
🎶 With my code of many colors that my mama taught to me 🎶

Continue reading

Perl Weekly Challenge: The World Turned Upside Down!

Perl Weekly Challenge 382‘s tasks are “Hamiltonian Cycle” and “Replace Question Mark”.

As soon as I saw “Hamiltonian”, I knew I needed to use a song from Hamilton: An American Musical… but I couldn’t decide which song best fit with “Cycle”. So I did what I always do when I’m stumped for a creative choice: I asked my wife.

The Hamilton Polka“, she immediately responded.1 “It’s a five-minute song cycle.”

When she’s right, she’s right.

Continue reading

Perl Backfill Challenge: Shift to low gear, a fifty dollar fine my friend!

I’m making another entry backfilling the challenges I missed while my mother was dying; I’m doing these in her honor.

Perl Weekly Challenge 297‘s tasks were “Contiguous Array” and “Semi-Ordered Permutation”.

I thought about what music I should pick, and “semi” jumped out at me. Semi makes me think trucks, and trucks make me think of Thirty Thousand Pounds of Bananas.

Continue reading