last_table=$#tables<br>$((last_table++))<br>${tables[$last_table]}}=&#39;table3&#39;<br><br>if you like scaring people using bash with arrays :-)  Most scripting languages will allow you to simple append with an assignment. Compiled C may depending on how it&#39;s defined.<br>
<br><div class="gmail_quote">On Wed, Jun 1, 2011 at 8:54 AM, Geoffrey Myers <span dir="ltr">&lt;<a href="mailto:lists@serioustechnology.com">lists@serioustechnology.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have the following constuct:<br>
<br>
%hash = ($db =&gt; { transaction =&gt; 1,<br>
                        locked =&gt; 1,<br>
                        tables =&gt; [&quot;table1&quot;, &quot;table2&quot;]<br>
        }<br>
);<br>
<br>
How do I add additional tables to the tables array?<br>
<br>
--<br>
Until later, Geoffrey<br>
<br>
&quot;I predict future happiness for America if they can prevent<br>
the government from wasting the labors of the people under<br>
the pretense of taking care of them.&quot;<br>
- Thomas Jefferson<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br><br>As long as the general population is passive, apathetic, diverted to 
consumerism or hatred of the vulnerable, then the powerful can do as 
they please, and those who survive will be left to contemplate the 
outcome.<br>- <i><i><i><i>2011 Noam Chomsky</i></i></i></i><br>