Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
No such thing as a small change
 
PerlMonks  

Re: Finding duplicated code in Perl

by talexb (Canon)
on Nov 26, 2003 at 13:11 UTC ( #310228=note: print w/ replies, xml ) Need Help??


in reply to Finding duplicated code in Perl

Wow. Neat question.

Without being able to look at a few of the scripts, it's really hard to tell. My guess is that it's probably going to be easier to eyeball the code and say, "Right, here's another x => y conversion". Following from that idea, you'd probably want to make sure that the Perl has pretty much the same standard formatting .. so perltidy would be a handy tool to use.

Good luck.

--t. alex
Life is short: get busy!


Comment on Re: Finding duplicated code in Perl
Re: Re: Finding duplicated code in Perl
by shushu (Scribe) on Nov 26, 2003 at 13:27 UTC
    Thanks,
    Regarding to perltidy - thanks, we already use it on our code, and it is very useful.

    I don't see a way to attach files (or maybe I am wrong...), and I don't want to \<code\> them since they are huge.
    Any idea where to put them ? (I don't have an external web server available)
    Regards,
    shushu

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-04-17 01:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (437 votes), past polls