Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: How to find size of array in array?

by jbert (Priest)
on Nov 19, 2001 at 19:35 UTC ( [id://126279]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      $asize = @a;
    
  2. or download this
      my $asize = scalar @a;
    
  3. or download this
    #!/usr/local/bin/perl -w
    use strict;
    ...
    print "Array size 1 is ", $asize, "\n";
    print "Array size 2 is ", @array, "\n";
    print "Array size 3 is ", scalar @array, "\n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-03-29 12:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found