<div dir="ltr">On Wed, Aug 6, 2008 at 8:47 PM, Jay Hannah <span dir="ltr">&lt;<a href="mailto:jay@jays.net">jay@jays.net</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">
Have you tried this instead?</div></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">sub retrieve_fields {<br>

 &nbsp; &nbsp; &nbsp; &nbsp;my ( $file )=@_;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;my <b>$fields</b>;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;open(FILE, $file)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;{<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local $/;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;eval &lt;FILE&gt;;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;}<br>
 &nbsp; &nbsp; &nbsp; &nbsp;return <b>$fields</b>;<br>
}</div></blockquote></div><br>I thought of that but I couldn&#39;t find an comments regarding the differences caused by changing the hash (%fields) to a straight variable ($fields).&nbsp; I know Perl doesn&#39;t do strict casting of variables, but this still looked odd to me.<br>
<br>I&#39;ll give it a shot and see - the main program&nbsp; the retrieve_fields() subroutine resides in is used by a number of other collection routines and I don&#39;t want to break things too badly when adding my new section.&nbsp; (Sadly we don&#39;t have a test harness setup _yet_ so I don&#39;t have a baseline to work from...)<br>
<br>Dan<br><br>-- <br>&quot;Quis custodiet ipsos custodes?&quot; (Who can watch the watchmen?) -- from the Satires of Juvenal<br>&quot;I do not fear computers, I fear the lack of them.&quot; -- Isaac Asimov (Author)<br>** *** ***** ******* *********** *************<br>

</div>