perlmeditation
mr.nick
Okay, I have an interesting task here if you are interested :) What is the most clever obfuscation/golf can you write with the following simple rules
<p>
<ul>
<li>Maximum of eight (8) spaces
<li>You can only use the following characters
<br>
<dd><code>. ' ! : -</code> (which count for 1/2 space)
<br>
<dd><code>& ? $ = # ' + / *</code> (which count for 1 space)
<br>
<dd><code>"</code> (2 spaces)
<br>
<dd><code>A-Z0-9</code> (1 space)
</ul>
<p>
Now, if this sounds suspiciously like the restrictions placed on you by the Department of Motor Vehicles for a custom plate, well, yes, (ahem) you would be correct :)
<p>
I've been trying to think of something clever I can fit into 8 spaces (which, if 1/2 space chars are abused well enough, I expect can be as long as 12 characters). Problem is, the muse of cleverness isn't with me; the best I can do so far is a simple regex like <code>s!.+!JAPH!</code>. So I appeal (more out of interest of SEEING as opposed to actually USING it) to my fellow monks for some input.
<p>
Thank you for your time! :)