Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: How do I find the size of each row of a growing multidimensional array?

by Zed_Lopez (Chaplain)
on Mar 03, 2005 at 23:13 UTC ( #436400=note: print w/replies, xml ) Need Help??


in reply to How do I find the size of each row of a growing multidimensional array?

If you've implemented your multidimensional array as an array of arrayrefs, and if every row has the same number of columns:

my $num_columns = @{$INFO_ARRAY[0]};

But, since I don't really know how you've implemented it, I'm just guessing.

  • Comment on Re: How do I find the size of each row of a growing multidimensional array?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://436400]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2023-05-28 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?