Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Searching for duplication in legacy code (updated)

by haukex (Archbishop)
on Nov 23, 2016 at 11:26 UTC ( [id://1176409]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use warnings;
    ...
    }
    sub subtr { return shift - shift; }
    sub foo { return 'foo'.shift }
    
  2. or download this
    #!/usr/bin/perl
    use warnings;
    ...
        my $x = shift;
        return "foo$x";
    }
    
  3. or download this
    #!/usr/bin/env perl
    use warnings;
    ...
        }
        return @subs;
    }
    
  4. or download this
    $ ./subdupes.pl one.pl two.pl
    Potential Duplicates:
    ...
    Potential Duplicates:
        sub subtr in file one.pl, line 11, col 1
        sub subtract in file two.pl, line 11, col 1
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-03-28 17:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found