Help for this page

Select Code to Download


  1. or download this
    # iterator
    sort { $a cmp $b } @array;
    # callback
    sub myFunc { $a cmp $b }
    sort myFunc @array;
    
  2. or download this
       package MyDiff;
       @MyDiff::ISA = 'Algorithm::Diff';
    ...
       package main;
       my $diff = MyDiff->new();
       $diff->traverse_sequences(\@a1, \@a2);