Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Method to calculate array length

by wannymahoots (Novice)
on Nov 21, 2012 at 13:27 UTC ( #1004917=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
        package Test;
    my $tmp = Test->new;
    print $tmp->len,"\n";
  2. or download this
    function "arr" called
    function "scaler" called
    Can't use string ("1") as a HASH ref while "strict refs" in use at ./t line 25.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1004917]
Approved by rovf
Front-paged by toolic
[1nickt]: Morning monks, howzit?
[ambrus]: AAAAAAARGH!
[ambrus]: something must be wrong here
[ambrus]: oh I see. I'm stupid
[marto]: hi 1nickt!
[ambrus]: The file I'm reading is already filtered, which is why I found only one kind of entry.
[1nickt]: Sorry to upset you brother Ambrus ...
[1nickt]: Ah not me, good!

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2018-01-23 13:04 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (246 votes). Check out past polls.