Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

(tye)Re: Algorithm::Diff icult to use

by tye (Sage)
on Aug 22, 2002 at 07:42 UTC ( [id://191950]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        #         @a      @b        @a       @b
        # same?  range   range    values   values
    ...
                 8,      9,      #  n p  !  r s t
                10,     12,      #
        );
    
  2. or download this
        # old loop code
        ########################################
    ...
            splice @$diff, 0, 2;
            # ...
        }
    
  3. or download this
        my $diff= Algorithm::Diff->new( \@a, \@b );
        $diff->base( 1 );   # Return line numbers, not indices
    ...
            print $sep;
            print "> $_"   for  $diff->bRange();
        }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://191950]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-19 21:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found