Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: RFC: perl sub diff between two files

by LanX (Saint)
on Mar 29, 2018 at 07:26 UTC ( [id://1211957]=note: print w/replies, xml ) Need Help??


in reply to Re: RFC: perl sub diff between two files
in thread RFC: perl sub diff between two files

>  e.g. git or svn. Both of which can compare and reconcile differences

You sound like sundial ...

Neither GIT nor SVN can "compare or reconcile" using Perl semantics, they work only by line* comparison.

Otherwise please show me how to do this with a subroutine which moved from start to end of a file after refactoring.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

*) more precisely "chunks of equal lines"

  • Comment on Re^2: RFC: perl sub diff between two files

Replies are listed 'Best First'.
Re^3: RFC: perl sub diff between two files
by bliako (Monsignor) on Mar 29, 2018 at 11:12 UTC
    exactly one of my main motivations. although i did not use GIT nor SVN for other reasons, including laziness.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 23:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found