Help for this page

Select Code to Download


  1. or download this
    my $followers = $data->{followersperdate}; ## just copy the reference 
    +to the interesting part of the hash
    
    ** OR **
    
    my %followers = %{ $data->{followersperdate} }; ## dereference the int
    +eresting bit
    
  2. or download this
    my @sorted_keys = 
      sort 
    ...
          <=> 
        $data->{ followersperdate }->{ $a } } ## hi to lo on values
          keys %{ $data->{ followersperdate } }; ## again dereferencing as
    + above