Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: size of an array ref

by roboticus (Chancellor)
on Feb 24, 2012 at 13:03 UTC ( #955911=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cat t.pl
    #/usr/bin/perl
    ...
    
    print "Size of b[0]: ", scalar(@{$b[0]}), "\n";
    print Dumper($b[0]),"\n";
    
  2. or download this
    $ perl t.pl
    Size of a: 3
    ...
              1,
              2
            ];
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2019-10-17 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?