Help for this page

Select Code to Download


  1. or download this
    my $status;
    my @values = values (%$result);
    ...
    print "key:$key\n";
    $status = $key;
    }
    
  2. or download this
    my $status = ( keys %$results )[ -1 ];
    
  3. or download this
    my @values = values (%$result);
    foreach my $key (@values) {
        print "key:$key\n";
        $status = $key;
    }
    
  4. or download this
    s**lil*;  $*=join'',sort split q**;  s;.*;grr; &&s+(.(.)).+$2$1+; $; =
    qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)