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

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!

Replies are listed 'Best First'.
Re: Re: Finding duplicated code in Perl
by shushu (Scribe) on Nov 26, 2003 at 13:27 UTC
    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)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://310228]
hippo looks sideways at LiposuctionAnnCure
[Veltro]: I don't understand. I keep getting "your connection is not secure" on https://perlmonks. org. The behaviour is totally random. Then it is insecure and then it is secure again...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2018-05-23 11:17 GMT
Find Nodes?
    Voting Booth?