As a sort of different puzzler than golf, and thinking about a different problem today, I propose the following puzzle:
How many ways can one generate the list ( 1..10 ) in perl, with the following stipulations:
- You cannot use any modules
- You cannot use any digit [0-9] in your code.
- You cannot use any mathematical operator (+, -, /, *, **, %, ++, --, and the equivalent +=, etc) or mathematical function (such as int, sqrt, sin, or atan2).
-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important
Back to
Meditations