Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: size of an array ref

by roboticus (Chancellor)
on Feb 24, 2012 at 08: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 chilling in the Monastery: (9)
As of 2018-09-25 14:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Eventually, "covfefe" will come to mean:













    Results (199 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 18:53 UTC) Welcome new users!