Duane,<br>
<br>
You seem to be expressing some concerns about the persistence of
anonymous arrays. You can sleep easy knowing that anonymous
arrays can persist just as long, sometimes longer, than named
arrays. As long as Perl thinks there is at least one reference to
a data structure, be it a simple scalar or a complex multi-dimensional
array of hashes of array of arrays, that data will persist. That
means as long as you have your hash key that points to an anonymous
array, that array will persist, as well as any anonymous arrays in it<br>
<br>
If you have not seen it, I recommend picking up a copy of Randall Schwartz's book <a href="http://www.oreilly.com/catalog/lrnperlorm/">Learning Perl's Objects, References, and Modules</a>. It's a great bridge between <a href="http://www.oreilly.com/catalog/learnperl4/">
Learning Perl</a> and <a href="http://www.oreilly.com/catalog/advperl2/">Advanced Perl Programming</a>.<br>
<br>
Ivan<br><div><span class="gmail_quote"><br>
<br>
On 7/22/05, <b class="gmail_sendername">Duane Blanchard</b> <<a href="mailto:dblanchard@gmail.com">dblanchard@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Spuggers,<br><br>I'm working on a hairy data set for which I need a hash in which the<br>values are arrays which each have as one of their elements an<br>additional array. My assumption is that I will be OK using anonymous
<br>arrays, but before I stay up all night trying to figure out that my<br>assumption is wrong, I thought I'd ask someone.<br><br>Thanks, yet again,<br><br>Duane<br><br>--<br>Duane Blanchard<br>206.934.5873<br><br>There are 10 kinds of people in the world;
<br>those who know binary and those who don't.<br>_____________________________________________________________<br>Seattle Perl Users Group Mailing List<br> POST TO: <a href="mailto:spug-list@pm.org">spug-list@pm.org</a>
<br>SUBSCRIPTION: <a href="http://mail.pm.org/mailman/listinfo/spug-list">http://mail.pm.org/mailman/listinfo/spug-list</a><br> MEETINGS: 3rd Tuesdays, Location: <a href="http://Amazon.com">Amazon.com</a> Pac-Med<br> WEB PAGE:
<a href="http://seattleperl.org/">http://seattleperl.org/</a><br></blockquote></div><br>