Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

How do I work with multidimensional arrays in Moose?

by paulymer (Novice)
on Sep 03, 2013 at 12:21 UTC ( #1052095=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/opt/local/bin/perl -w
    
    ...
    $struct2->print;
    print "END of struct2\n\n";
    
  2. or download this
            sub addInnerObj {
                    my ($self, $index, @obj) = @_;
    ...
                    push @{ $self->arr2d->[$index] }, @obj;
            }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1052095]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2014-09-22 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (192 votes), past polls