<?xml version="1.0" encoding="windows-1252"?>
<node id="432207" title="Thinking in perl" created="2005-02-18 03:10:50" updated="2005-08-03 03:56:44">
<type id="120">
perlmeditation</type>
<author id="312400">
K_M_McMahon</author>
<data>
<field name="doctext">
I'm sure I can't be the only one that this happens to.  How many people out there find themselves just doing normal things and all of a sudden, your mind translates something totally unrelated into code.&lt;br&gt;&lt;Br&gt;
&lt;b&gt;Example1:&lt;/b&gt; I was at work the other day and somebody noted something on the white-board as &lt;code&gt;if finish = 0300&lt;/code&gt; then blah blah blah.  Of course my mind didn't like that, I was compelled to go to the board and correct it to properly read &lt;code&gt; if finish == 0300&lt;/code&gt; blah blah blah.  &lt;br&gt;&lt;br&gt;
&lt;b&gt;Example2:&lt;/b&gt; Everything becomes a regular expression in your head to the point where you wish everything in life could allow the use of regular expressions.&lt;br&gt;&lt;br&gt;
&lt;b&gt;Example3:&lt;/b&gt; Sometimes I will be writing an email to the non-technical people I work with and I'll realize I have started including &lt;code&gt;print&lt;/code&gt; statements, or some other perl function in my email (like I see on here all the time &lt;code&gt;s/boss/idiot/g&lt;/code&gt;).&lt;br&gt;&lt;br&gt;
I am sure there are many more examples.  Let me hear some!
&lt;br&gt;&lt;br&gt;

&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-312400"&gt;
&lt;br&gt;
&lt;a href="http://www.billwfriend.com"&gt;-Kevin&lt;/a&gt;
&lt;code&gt;
my $a='62696c6c77667269656e6440676d61696c2e636f6d';
while ($a=~m/(^.{2})/s)
{print unpack('A',pack('H*',"$1"));$a=~s/^.{2}//s;}
&lt;/code&gt;

&lt;/div&gt;&lt;/div&gt;</field>
</data>
</node>
