4 ms·
Once you've changed that one word, how do you change all the places that reference it?
by binaryfinery 16y ago
Once you've changed that one word, how do you change all the places that reference it?
- shadowfox 16y agoYou can always fix it after you get the run time error ;)
- mathias_10gen 16y agosed?
- mst 16y agofind lib -name '*.pm' | xargs perl -pi -e 's/.../.../' is usually quite sufficient for purpose if you have a reasonable idea what's going on in your codebase (and if you don't, you probably don't want to be renaming things yet). Doesn't mean a real refactoring tool such as the ones people've been playing with for http://padre.perlide.org/ http://padre.perlide.org/ wouldn't be better, but it's amazing how well a simple brute force replace works on a reasonably tested codebase.
- binaryfinery 16y agoMight work for classes. Good luck with "count" or "item". But I take it from your third paragraph that you agree with the OP and myself that IDEs with good refactoring tools are a good thing.