title: pushing array inside array perl
body: <p><strong>edited:</strong></p>
  
  <p>How can I push @myarr into $menu (see below) </p>
  
  <pre><code>my @myarr = (
                  [ "itemone", "itemoneb", "itemonec" ],
                  [ "itemtwo", "itemtwob", "itemtwoc" ],
                  [ "itemthree", "itemthewwb", "itemthreec" ],
                  [ "itemfour", "itemfourb", "itemfourc" ]
                 );
  
  $menu = [
           "List",
           ["itemone", \&amp;ds2],
           ["itemtwo", \&amp;ds2],
           ["itemthree", \&amp;ds2],
           ["itemfour", \&amp;ds2],
           [ "Do Something (second)", \&amp;ds2 ]
       ];
  </code></pre>