perlmeditation
Masem
As a sort of different puzzler than golf, and thinking about a different problem today, I propose the following puzzle:
<P>
How many ways can one generate the list ( 1..10 ) in perl, with the following stipulations:
<UL>
<LI>You cannot use any modules
<LI>You cannot use any digit <code>[0-9]</code> in your
code.
<LI>You cannot use any mathematical operator (+, -, /, *, **, %, ++, --, and the equivalent +=, etc) or mathematical function (such as int, sqrt, sin, or atan2).
</UL>
Any other aspect of perl is fair game, as this is an attempt to see how many ways, both unique and creative, that this can be done.
<P>
-----------------------------------------------------
<BR>
<I>
<A HREF="http://mneylon.masemware.com/">Dr. Michael K. Neylon</A> - <a href="mailto:mneylon-pm@masemware.com">mneylon-pm@masemware.com</a>
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
<BR>
<FONT COLOR="#800000"><I>"I can see my house from here!"</I></FONT>
<BR>
<FONT COLOR="#808080"><I>It's not what you know, but knowing how to find it if you don't know that's important</I></FONT>
</I>