<div dir="ltr">On Aug 6, 2008, at 5:08 PM, Dan Linder wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;ve got one program that generates a hash and then uses Data::Dump to write this structure to a text file:<br>
printf FILE Data::Dumper-&gt;Dump(\%fields],[&#39;fields&#39;]);<br>
</blockquote>
<br>On Wed, Aug 6, 2008 at 5:22 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;">

Data::Dump isn&#39;t meant to be used like that. Use Storable instead:<br>
<a href="http://search.cpan.org/%7Eams/Storable-2.18/Storable.pm#EXAMPLES" target="_blank">http://search.cpan.org/~ams/Storable-2.18/Storable.pm#EXAMPLES</a><br>
Much easier to use, and it works. &nbsp;:)<br>
</blockquote><div><br>When I&#39;m able to re-write the entire system I&#39;ll look at that. :-)<br><br>For now I&#39;m saddled with making the &quot;eval&quot; work ... unless I can figure out the magic of the &quot;use vars&quot; piece I&#39;ll have to manually touch up the first line of the output file.<br>
<br>Thanks,<br><br>Dan <br></div></div><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>