http://www.perlmonks.org?node_id=563468


in reply to Re^3: A Perl vs. Java fight brews
in thread A Perl vs. Java fight brews

I'd still like a good refactoring tool for Perl though.
Have you checked Perl::Critic?
It can't automatically restructure your code (BTW I don't trust such tools), but for such actions a simple text editor is often sufficient.

Ciao, Emanuele.

Replies are listed 'Best First'.
Re^5: A Perl vs. Java fight brews
by adrianh (Chancellor) on Jul 27, 2006 at 08:32 UTC
    Have you checked Perl::Critic?

    Yes. It's lovely - but nothing like a refactoring tool.

    It can't automatically restructure your code (BTW I don't trust such tools), but for such actions a simple text editor is often sufficient.

    I have to disagree. See Re^3: Features missing in perl IDEs?.

      Yes. It's lovely - but nothing like a refactoring tool.
      While Perl::Critic is certainly far from being a complete refactoring tool, it nevertheless offers those analyze/audit functions which are usually the core of a refactoring application.

      I see that you are more interested in the code restructuring functions though, and I certainly agree that Perl::Critic is not the answer here (though for this there is Devel::Refactor, as also pointed out by you here, though I admit it's still very limited.)

      Ciao, Emanuele.