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

Max numbers of element in the values of an HoH

by secret (Beadle)
on Dec 16, 2005 at 14:25 UTC ( #517246=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %result= (
              '2005/12/15-01:00' => {
    ...
                    },
            ) ; 
    
  2. or download this
    my @list ;
    push @list, values %$_ for values %result ;
    my ($seen) = 
    sort {$b<=>$a} map { my @tmp = split " ", $_ ; scalar @tmp } @list  ;
    print $seen ;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://517246]
Approved by Happy-the-monk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2020-04-03 18:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (31 votes). Check out past polls.

    Notices?