<div>Think about how Perl &quot;runs&quot; any Perl code:</div>
<div>&nbsp;</div>
<div>1. it compiles the source code, producing a binary version really really quickly</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; (this implies the executable code is placed somewhere else in memory -</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; an executable block, for sure -</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; it surely wouldn't be compiled back into the same memory spot where the source code lives!)</div>
<div>&nbsp;</div>
<div>2. execute the binary version that was just compiled.</div>
<div>&nbsp;</div>
<div>So I don't think you have anything to worry about.</div>
<div>&nbsp;</div>
<div>Besides, if Perl does fail on any future hardware/OS change, you can bet that the Perl development team would release a patch for that pretty darn quickly.&nbsp; We're talkin' Open Source, here, after all.&nbsp; :)</div>
<div>&nbsp;</div>
<div>-- paul<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 9/13/06, <b class="gmail_sendername">Jerry Davis</b> &lt;<a href="mailto:jdawgaz@cox.net">jdawgaz@cox.net</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Wed, 13 Sep 2006 17:37:06 +0000<br>Scott Walters &lt;scott@&gt; wrote:<br><br>&gt; Stops executing, starts parsing/compiling again, and then executes the
<br>&gt; result of that again.&nbsp;&nbsp;I've said it before and I'll say it again...<br>&gt; 95% of the time people eval, they really want a closure instead.<br><br>the reason I asked, is that I do make use of eval, and in what I think
<br>is a legal way.<br><br>what I normally do in an eval, is on the command line I pass the name<br>of a file which is really a short perl script which is really a hash<br>full of static data.<br><br>sort of like:<br><br>
our %h;<br><br>$h{somekey}{somesubkey} = value;<br>...<br><br>I then eval this file, which sets sets up my all my data, and I just<br>use that data in the program.<br><br>Different files hold exactly the same hash but with different values.
<br><br>This has worked really really well for me, and I was just a little<br>alarmed over what I saw on /.<br><br>Jerry</blockquote>
<div>&nbsp;</div>
<div>Paul Balyoz</div>
<div>Fastech Learning Center</div>
<div><a href="http://www.FastechLC.com/">http://www.FastechLC.com/</a></div><br>&nbsp;</div>