<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'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->Dump(\%fields],['fields']);<br>
</blockquote>
<br>On Wed, Aug 6, 2008 at 5:22 PM, Jay Hannah <span dir="ltr"><<a href="mailto:jay@jays.net">jay@jays.net</a>></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'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. :)<br>
</blockquote><div><br>When I'm able to re-write the entire system I'll look at that. :-)<br><br>For now I'm saddled with making the "eval" work ... unless I can figure out the magic of the "use vars" piece I'll have to manually touch up the first line of the output file.<br>
<br>Thanks,<br><br>Dan <br></div></div><br>-- <br>"Quis custodiet ipsos custodes?" (Who can watch the watchmen?) -- from the Satires of Juvenal<br>"I do not fear computers, I fear the lack of them." -- Isaac Asimov (Author)<br>
** *** ***** ******* *********** *************<br>
</div>