Help for this page

Select Code to Download


  1. or download this
    use strict; use warnings;
    my @arr = ('foo','bar','qux','foo1','bar1','qux1');
    ...
    } 0 .. $#nodew;
    
    my @arr_sorted = @arr[ @sorted_node_indices ];
    
  2. or download this
    use strict; use warnings;
    my @arr = ('foo','bar','qux','foo1','bar1','qux1');
    ...
            sort { $edgew{$from}{$a} <=> $edgew{$from}{$b} }
            keys %{ $edgew{$from} };
    }