Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: RFC: perl sub diff between two files

by Anonymous Monk
on Mar 29, 2018 at 01:15 UTC ( [id://1211950]=note: print w/replies, xml ) Need Help??


in reply to RFC: perl sub diff between two files

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re: RFC: perl sub diff between two files

Replies are listed 'Best First'.
Re^2: RFC: perl sub diff between two files
by LanX (Saint) on Mar 29, 2018 at 07:26 UTC
    >  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"

      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://1211950]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-24 05:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found